zendframework/zend-log
Abandoned; use laminas/laminas-log. Robust, composite logger with filtering, formatting, and PSR-3 support
2.12.0
15M downloads/mo
#4629 most downloaded on Packagist
zendframework/zend-log
What this package is like to depend on
Last release 7 years ago
no release in 18 months
Release timing varies
gaps range from 8 days to 1.4 years
Rarely documented
notes for 16 of 76 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
76 releases · first in 2012
0 releases in the last 12 months
see the full history below
Release timeline
43 releases · Oct 2012 to Dec 2019Releases
latest 60 of 76-
2.12.027 Dec 2019Release notes
Open source →Added
- #99 adds
Zend\Log\PsrLoggerAbstractAdapterFactory, which will create instances ofPsrLoggerAdapter. Usage is exactly like withZend\Log\LoggerAbstractServiceFactory, with the exception that it looks under thepsr_logconfiguration key instead of thelogkey for logger configuration.
Changed
- #100 updates the psr/log constraint to 1.1.2, removing the need for an extra autoloader in this package.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
Release notes
Open source →Added
- #99 adds
Zend\Log\PsrLoggerAbstractAdapterFactory, which will create instances ofPsrLoggerAdapter. Usage is exactly like withZend\Log\LoggerAbstractServiceFactory, with the exception that it looks under thepsr_logconfiguration key instead of thelogkey for logger configuration.
Changed
- #100 updates the psr/log constraint to 1.1.2, removing the need for an extra autoloader in this package.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
- #99 adds
-
2.11.023 Aug 2019Release notes
Open source →Added
-
#96 adds support for PHP 7.3.
-
#83 adds ability to define custom ignored namespaces in addition to default
Zend\LoginBacktraceprocessor.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- #88 removes support for HHVM.
Fixed
- Nothing.
Release notes
Open source →Added
-
#96 adds support for PHP 7.3.
-
#83 adds ability to define custom ignored namespaces in addition to default
Zend\LoginBacktraceprocessor.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- #88 removes support for HHVM.
Fixed
- Nothing.
-
-
2.10.009 Apr 2018Release notes
Open source →Added
- #58 adds the class
Zend\Log\Formatter\Json, which will format log lines as individual JSON
objects.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
Release notes
Open source →Added
- #58 adds the class
Zend\Log\Formatter\Json, which will format log lines as individual JSON objects.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
- #58 adds the class
-
2.9.309 Apr 2018 -
2.9.217 May 2017Release notes
Open source →Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #74 fixes how the various plugin manager factories initialize the plugin manager instances, ensuring they are injecting the relevant configuration from the
configservice and thus seeding them with configured plugin services. This means that thelog_processors,log_writers,log_filters, andlog_formattersconfiguration will now be honored in non-zend-mvc contexts. - #62 fixes registration of the alias and factory for the
PsrPlaceholderprocessor plugin. - #66 fixes the namespace of the
LogFormatterProviderInterfacewhen registering theLogFormatterManagerwith the zend-modulemanagerServiceListener. - #67 ensures that content being injected into a DOM node by
Zend\Log\Formatter\Xmlis escaped so that XML entities will be properly emitted. - #73 adds a missing import statement to the
Psrlog writer.
Release notes
Open source →Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #74 fixes how the various
plugin manager factories initialize the plugin manager instances, ensuring
they are injecting the relevant configuration from the
configservice and thus seeding them with configured plugin services. This means that thelog_processors,log_writers,log_filters, andlog_formattersconfiguration will now be honored in non-zend-mvc contexts. - #62 fixes registration of
the alias and factory for the
PsrPlaceholderprocessor plugin. - #66 fixes the namespace
of the
LogFormatterProviderInterfacewhen registering theLogFormatterManagerwith the zend-modulemanagerServiceListener. - #67 ensures that content
being injected into a DOM node by
Zend\Log\Formatter\Xmlis escaped so that XML entities will be properly emitted. - #73 adds a missing import
statement to the
Psrlog writer.
-
2.9.111 Aug 2016Release notes
Open source →Added
- #53 adds a suggestion to the package definition of ext/mongodb, for those who want to use the MongoDB writer.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #56 fixes an edge case with the
AbstractWriterwhereby instantiating aZend\Log\Writer\FormatterPluginManagerorFilterPluginManagerprior to creating a writer instance would lead to a naming conflict. New aliases were added to prevent the conflict going forwards.
Release notes
Open source →Added
- #53 adds a suggestion to the package definition of ext/mongodb, for those who want to use the MongoDB writer.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #56 fixes an edge case
with the
AbstractWriterwhereby instantiating aZend\Log\Writer\FormatterPluginManagerorFilterPluginManagerprior to creating a writer instance would lead to a naming conflict. New aliases were added to prevent the conflict going forwards.
-
2.9.022 Jun 2016Release notes
Open source →Added
-
#46 adds the ability to specify log writer, formatter, filter, and processor plugin configuration via the new top-level keys:
log_filterslog_formatterslog_processorslog_writers
These follow the same configuration patterns as any other service manager/plugin manager as implemented by zend-servicemanager.
Additionally, you can now specify filer, formatter, and processor services when specifying writer configuration for a logger, as these are now backed by the above plugin managers.
Deprecated
- Nothing.
Removed
- Removes support for PHP 5.5.
Fixed
- #38 adds the
MongoDbwriter to the list of available writer plugins; the writer was added in a previous release, but never enabled within the default set of writers.
Release notes
Open source →Added
-
#46 adds the ability to specify log writer, formatter, filter, and processor plugin configuration via the new top-level keys:
log_filterslog_formatterslog_processorslog_writersThese follow the same configuration patterns as any other service manager/plugin manager as implemented by zend-servicemanager.
Additionally, you can now specify filer, formatter, and processor services when specifying writer configuration for a logger, as these are now backed by the above plugin managers.
Deprecated
- Nothing.
Removed
- Removes support for PHP 5.5.
Fixed
- #38 adds the
MongoDbwriter to the list of available writer plugins; the writer was added in a previous release, but never enabled within the default set of writers.
-
-
2.8.325 May 2016Release notes
Open source →Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Corrected licence headers across files within the project
-
2.8.218 Apr 2016Release notes
Open source →Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #43 fixes the
Module::init()method to properly receive aModuleManagerinstance, and not expect aModuleEvent.
-
2.8.106 Apr 2016Release notes
Open source →Added
- #40 adds the
LogFilterProviderInterfaceandLogFormatterProviderInterfacereferenced in theModuleclass starting in 2.8.0.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
- #40 adds the
-
2.8.006 Apr 2016Release notes
Open source →Added
- #39 adds the following
factory classes for the exposed plugin managers in the component:
Zend\Log\FilterPluginManagerFactory, which returnsFilterPluginManagerinstances.Zend\Log\FormatterPluginManagerFactory, which returnsFormatterPluginManagerinstances.Zend\Log\ProcessorPluginManagerFactory, which returnsProcessorPluginManagerinstances.Zend\Log\WriterPluginManagerFactory, which returnsWriterPluginManagerinstances.
- #39 exposes the
package as a ZF component and/or generic configuration provider, by adding the
following:
ConfigProvider, which maps the available plugin managers to the corresponding factories as listed above, maps theLoggerclass to theLoggerServiceFactory, and registers theLoggerAbstractServiceFactoryas an abstract factory.Module, which does the same asConfigProvider, but specifically for zend-mvc applications. It also provices a specifications toZend\ModuleManager\Listener\ServiceListenerto allow modules to provide configuration for log filters, formatters, processors, and writers.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
- #39 adds the following
factory classes for the exposed plugin managers in the component:
-
2.7.206 Apr 2016Release notes
Open source →Added
- #30 adds documentation for each of the supported log writers.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #33 fixes an issue with
executing
chmodon files mounted via NFS on an NTFS partition when using the stream writer.
-
2.7.118 Feb 2016Release notes
Open source →Added
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #28 restores the "share
by default" flag settings of all plugin managers back to boolean
false, allowing multiple instances of each plugin type. (This restores backwards compatibility with versions prior to 2.7.)
-
2.7.009 Feb 2016Release notes
Open source →Added
- #7 and
#15 add a new argument
and option to
Zend\Log\Writer\Streamto allow setting the permission mode for the stream. You can pass it as the optional fourth argument to the constructor, or as thechmodoption if using an options array. - #10 adds
arrayto the expected return types fromZend\Log\Formatter\FormatterInterface::format(), codifying what we're already allowing. - #24 prepares the documentation for publication, adds a chapter on processors, and publishes it to https://zendframework.github.io/zend-log/
Deprecated
- #14 deprecates the
following, suggesting the associated replacements:
Zend\Log\Writer\FilterPluginManageris deprecated; useZend\Log\FilterPluginManagerinstead.Zend\Log\Writer\FormatterPluginManageris deprecated; useZend\Log\FormatterPluginManagerinstead.
Removed
- Nothing.
Fixed
- #7 and
#15 add a new argument
and option to
-
2.6.020 Jul 2015Release notes
Open source →Added
- #6 adds
PSR-3 support to zend-log:
Zend\Log\PsrLoggerAdapterallows you to decorate aZend\Log\LoggerInterfaceinstance so it can be used wherever a PSR-3 logger is expected.Zend\Log\Writer\Psrallows you to decorate a PSR-3 logger instance for use as a log writer withZend\Log\Logger.Zend\Log\Processor\PsrPlaceholderallows you to use PSR-3-compliant message placeholders in your log messages; they will be substituted from corresponding keys of values passed in the$extraarray when logging the message.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
- #6 adds
PSR-3 support to zend-log:
-
2.5.206 Jul 2015Release notes
Open source →Added
-
#2 adds the ability to specify the mail transport via the configuration options for a mail log writer, using the same format supported by
Zend\Mail\Transport\Factory::create(); as an example:$writer = new MailWriter([ 'mail' => [ // message options ], 'transport' => [ 'type' => 'smtp', 'options' => [ 'host' => 'localhost', ], ], ]);
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
-
-
2.5.103 Jun 2015Nothing published for this version
-
2.5.003 Jun 2015Nothing published for this version
-
2.4.1307 May 2015Nothing published for this version
-
2.4.12no dateNothing published for this version
-
2.4.11no dateNothing published for this version
-
2.4.10no dateNothing published for this version
-
2.4.9no dateNothing published for this version
-
2.4.8no dateNothing published for this version
-
2.4.7no dateNothing published for this version
-
2.4.6no dateNothing published for this version
-
2.4.5no dateNothing published for this version
-
2.4.4no dateNothing published for this version
-
2.4.3no dateNothing published for this version
-
2.4.2no dateNothing published for this version
-
2.4.1no dateNothing published for this version
-
2.4.025 Mar 2015Nothing published for this version
-
2.3.913 Jan 2015Nothing published for this version
-
2.3.8no dateNothing published for this version
-
2.3.7no dateNothing published for this version
-
2.3.6no dateNothing published for this version
-
2.3.5no dateNothing published for this version
-
2.3.4no dateNothing published for this version
-
2.3.311 Aug 2014Nothing published for this version
-
2.3.2no dateNothing published for this version
-
2.3.115 Apr 2014Nothing published for this version
-
2.3.012 Mar 2014Nothing published for this version
-
2.2.1005 Mar 2014Nothing published for this version
-
2.2.9no dateNothing published for this version
-
2.2.8no dateNothing published for this version
-
2.2.7no dateNothing published for this version
-
2.2.6no dateNothing published for this version
-
2.2.531 Oct 2013Nothing published for this version
-
2.2.421 Aug 2013Nothing published for this version
-
2.2.3no dateNothing published for this version
-
2.2.222 Jul 2013Nothing published for this version
-
2.2.112 Jun 2013Nothing published for this version
-
2.2.010 May 2013Nothing published for this version
-
2.1.617 Apr 2013Nothing published for this version
-
2.1.5no dateNothing published for this version
-
2.1.413 Mar 2013Nothing published for this version
-
2.1.319 Feb 2013Nothing published for this version
-
2.1.2no dateNothing published for this version
-
2.1.106 Feb 2013Nothing published for this version
-
2.1.029 Jan 2013Nothing published for this version