PackageTrack
Sign in Get early access

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 2019
2013 2015 2017 2019 2021 2023 2025
Release Pre-release

Releases

latest 60 of 76
  1. 2.12.0 27 Dec 2019
    Release notes

    Added

    • #99 adds Zend\Log\PsrLoggerAbstractAdapterFactory, which will create instances of PsrLoggerAdapter. Usage is exactly like with Zend\Log\LoggerAbstractServiceFactory, with the exception that it looks under the psr_log configuration key instead of the log key 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.
    Open source →
    Release notes

    Added

    • #99 adds Zend\Log\PsrLoggerAbstractAdapterFactory, which will create instances of PsrLoggerAdapter. Usage is exactly like with Zend\Log\LoggerAbstractServiceFactory, with the exception that it looks under the psr_log configuration key instead of the log key 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.
    Open source →
  2. 2.11.0 23 Aug 2019
    Release notes

    Added

    • #96 adds support for PHP 7.3.

    • #83 adds ability to define custom ignored namespaces in addition to default Zend\Log in Backtrace processor.

    Changed

    • Nothing.

    Deprecated

    • Nothing.

    Removed

    • #88 removes support for HHVM.

    Fixed

    • Nothing.
    Open source →
    Release notes

    Added

    • #96 adds support for PHP 7.3.

    • #83 adds ability to define custom ignored namespaces in addition to default Zend\Log in Backtrace processor.

    Changed

    • Nothing.

    Deprecated

    • Nothing.

    Removed

    • #88 removes support for HHVM.

    Fixed

    • Nothing.
    Open source →
  3. 2.10.0 09 Apr 2018
    Release notes

    Added

    • #58 adds the class
      Zend\Log\Formatter\Json, which will format log lines as individual JSON
      objects.

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • Nothing.
    Open source →
    Release notes

    Added

    • #58 adds the class Zend\Log\Formatter\Json, which will format log lines as individual JSON objects.

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • Nothing.
    Open source →
  4. 2.9.3 09 Apr 2018
    Release notes

    Added

    • Nothing.

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • #79 and
      #86 provide fixes to
      ensure the FingersCrossed, Mongo, and MongoDB writers work under PHP
      7.2.
    Open source →
    Release notes

    Added

    • Nothing.

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • #79 and #86 provide fixes to ensure the FingersCrossed, Mongo, and MongoDB writers work under PHP 7.2.
    Open source →
  5. 2.9.2 17 May 2017
    Release notes

    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 config service and thus seeding them with configured plugin services. This means that the log_processors, log_writers, log_filters, and log_formatters configuration will now be honored in non-zend-mvc contexts.
    • #62 fixes registration of the alias and factory for the PsrPlaceholder processor plugin.
    • #66 fixes the namespace of the LogFormatterProviderInterface when registering the LogFormatterManager with the zend-modulemanager ServiceListener.
    • #67 ensures that content being injected into a DOM node by Zend\Log\Formatter\Xml is escaped so that XML entities will be properly emitted.
    • #73 adds a missing import statement to the Psr log writer.
    Open source →
    Release notes

    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 config service and thus seeding them with configured plugin services. This means that the log_processors, log_writers, log_filters, and log_formatters configuration will now be honored in non-zend-mvc contexts.
    • #62 fixes registration of the alias and factory for the PsrPlaceholder processor plugin.
    • #66 fixes the namespace of the LogFormatterProviderInterface when registering the LogFormatterManager with the zend-modulemanager ServiceListener.
    • #67 ensures that content being injected into a DOM node by Zend\Log\Formatter\Xml is escaped so that XML entities will be properly emitted.
    • #73 adds a missing import statement to the Psr log writer.
    Open source →
  6. 2.9.1 11 Aug 2016
    Release notes

    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 AbstractWriter whereby instantiating a Zend\Log\Writer\FormatterPluginManager or FilterPluginManager prior to creating a writer instance would lead to a naming conflict. New aliases were added to prevent the conflict going forwards.
    Open source →
    Release notes

    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 AbstractWriter whereby instantiating a Zend\Log\Writer\FormatterPluginManager or FilterPluginManager prior to creating a writer instance would lead to a naming conflict. New aliases were added to prevent the conflict going forwards.
    Open source →
  7. 2.9.0 22 Jun 2016
    Release notes

    Added

    • #46 adds the ability to specify log writer, formatter, filter, and processor plugin configuration via the new top-level keys:

      • log_filters
      • log_formatters
      • log_processors
      • log_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 MongoDb writer to the list of available writer plugins; the writer was added in a previous release, but never enabled within the default set of writers.
    Open source →
    Release notes

    Added

    • #46 adds the ability to specify log writer, formatter, filter, and processor plugin configuration via the new top-level keys:

      • log_filters
      • log_formatters
      • log_processors
      • log_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 MongoDb writer to the list of available writer plugins; the writer was added in a previous release, but never enabled within the default set of writers.
    Open source →
  8. 2.8.3 25 May 2016
    Release notes

    Added

    • Nothing.

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • Corrected licence headers across files within the project
    Open source →
  9. 2.8.2 18 Apr 2016
    Release notes

    Added

    • Nothing.

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • #43 fixes the Module::init() method to properly receive a ModuleManager instance, and not expect a ModuleEvent.
    Open source →
  10. 2.8.1 06 Apr 2016
    Release notes

    Added

    • #40 adds the LogFilterProviderInterface and LogFormatterProviderInterface referenced in the Module class starting in 2.8.0.

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • Nothing.
    Open source →
  11. 2.8.0 06 Apr 2016
    Release notes

    Added

    • #39 adds the following factory classes for the exposed plugin managers in the component:
      • Zend\Log\FilterPluginManagerFactory, which returns FilterPluginManager instances.
      • Zend\Log\FormatterPluginManagerFactory, which returns FormatterPluginManager instances.
      • Zend\Log\ProcessorPluginManagerFactory, which returns ProcessorPluginManager instances.
      • Zend\Log\WriterPluginManagerFactory, which returns WriterPluginManager instances.
    • #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 the Logger class to the LoggerServiceFactory, and registers the LoggerAbstractServiceFactory as an abstract factory.
      • Module, which does the same as ConfigProvider, but specifically for zend-mvc applications. It also provices a specifications to Zend\ModuleManager\Listener\ServiceListener to allow modules to provide configuration for log filters, formatters, processors, and writers.

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • Nothing.
    Open source →
  12. 2.7.2 06 Apr 2016
    Release notes

    Added

    • #30 adds documentation for each of the supported log writers.

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • #33 fixes an issue with executing chmod on files mounted via NFS on an NTFS partition when using the stream writer.
    Open source →
  13. 2.7.1 18 Feb 2016
    Release notes

    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.)
    Open source →
  14. 2.7.0 09 Feb 2016
    Release notes

    Added

    • #7 and #15 add a new argument and option to Zend\Log\Writer\Stream to allow setting the permission mode for the stream. You can pass it as the optional fourth argument to the constructor, or as the chmod option if using an options array.
    • #10 adds array to the expected return types from Zend\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\FilterPluginManager is deprecated; use Zend\Log\FilterPluginManager instead.
      • Zend\Log\Writer\FormatterPluginManager is deprecated; use Zend\Log\FormatterPluginManager instead.

    Removed

    • Nothing.

    Fixed

    • #14 and #17 update the component to be forwards-compatible with zend-stdlib and zend-servicemanager v3.
    Open source →
  15. 2.6.0 20 Jul 2015
    Release notes

    Added

    • #6 adds PSR-3 support to zend-log:
      • Zend\Log\PsrLoggerAdapter allows you to decorate a Zend\Log\LoggerInterface instance so it can be used wherever a PSR-3 logger is expected.
      • Zend\Log\Writer\Psr allows you to decorate a PSR-3 logger instance for use as a log writer with Zend\Log\Logger.
      • Zend\Log\Processor\PsrPlaceholder allows you to use PSR-3-compliant message placeholders in your log messages; they will be substituted from corresponding keys of values passed in the $extra array when logging the message.

    Deprecated

    • Nothing.

    Removed

    • Nothing.

    Fixed

    • Nothing.
    Open source →
  16. 2.5.2 06 Jul 2015
    Release notes

    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

    • #4 adds better, more complete verbiage to the composer.json suggest section, to detail why and when you might need additional dependencies.
    • #1 updates the code to remove conditionals related to PHP versions prior to PHP 5.5, and use bound closures in tests (not possible before 5.5).
    Open source →
  17. 2.5.1 03 Jun 2015

    Nothing published for this version

  18. 2.5.0 03 Jun 2015

    Nothing published for this version

  19. 2.4.13 07 May 2015

    Nothing published for this version

  20. 2.4.12 no date

    Nothing published for this version

  21. 2.4.11 no date

    Nothing published for this version

  22. 2.4.10 no date

    Nothing published for this version

  23. 2.4.9 no date

    Nothing published for this version

  24. 2.4.8 no date

    Nothing published for this version

  25. 2.4.7 no date

    Nothing published for this version

  26. 2.4.6 no date

    Nothing published for this version

  27. 2.4.5 no date

    Nothing published for this version

  28. 2.4.4 no date

    Nothing published for this version

  29. 2.4.3 no date

    Nothing published for this version

  30. 2.4.2 no date

    Nothing published for this version

  31. 2.4.1 no date

    Nothing published for this version

  32. 2.4.0 25 Mar 2015

    Nothing published for this version

  33. 2.3.9 13 Jan 2015

    Nothing published for this version

  34. 2.3.8 no date

    Nothing published for this version

  35. 2.3.7 no date

    Nothing published for this version

  36. 2.3.6 no date

    Nothing published for this version

  37. 2.3.5 no date

    Nothing published for this version

  38. 2.3.4 no date

    Nothing published for this version

  39. 2.3.3 11 Aug 2014

    Nothing published for this version

  40. 2.3.2 no date

    Nothing published for this version

  41. 2.3.1 15 Apr 2014

    Nothing published for this version

  42. 2.3.0 12 Mar 2014

    Nothing published for this version

  43. 2.2.10 05 Mar 2014

    Nothing published for this version

  44. 2.2.9 no date

    Nothing published for this version

  45. 2.2.8 no date

    Nothing published for this version

  46. 2.2.7 no date

    Nothing published for this version

  47. 2.2.6 no date

    Nothing published for this version

  48. 2.2.5 31 Oct 2013

    Nothing published for this version

  49. 2.2.4 21 Aug 2013

    Nothing published for this version

  50. 2.2.3 no date

    Nothing published for this version

  51. 2.2.2 22 Jul 2013

    Nothing published for this version

  52. 2.2.1 12 Jun 2013

    Nothing published for this version

  53. 2.2.0 10 May 2013

    Nothing published for this version

  54. 2.1.6 17 Apr 2013

    Nothing published for this version

  55. 2.1.5 no date

    Nothing published for this version

  56. 2.1.4 13 Mar 2013

    Nothing published for this version

  57. 2.1.3 19 Feb 2013

    Nothing published for this version

  58. 2.1.2 no date

    Nothing published for this version

  59. 2.1.1 06 Feb 2013

    Nothing published for this version

  60. 2.1.0 29 Jan 2013

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive