Zend Framework 2 module for logging dispatch.error and render.error events

Installs: 3 105

Dependents: 2

Stars: 6

Watchers: 1

Forks: 1

v1.0.1 2013-12-01 21:17 UTC


This module logs dispatch.error and render.error events. It's useful on a production system to get notified when a user gets an error page.


  • Add "weteef/eventerrorlogger": "1.*" to the require section of your composer.json
  • Add 'EventErrorLogger' to the modules array in your application.config.php
  • Copy the file weteef/eventerrorlogger/config/eventerrorlogger.global.php.dist to the config/autoload folder an rename it to eventerrorlogger.global.php
  • Add a logger to the loggers array. Example:
'loggers' => array(

The logger need to be a instance of \Zend\Log\LoggerInterface