eddiejaoude / zf2-logger

[DEPRECATED] Zend Framework 2 Logger - log request & response data, multiple output streams, filter levels per environment
MIT License
34 stars 16 forks source link

Config file bug #1

Closed jeremyquinton closed 10 years ago

jeremyquinton commented 10 years ago

The reliance on $_SERVER environment variables in the module.config means that if these variables are not set php outputs warnings.

eddiejaoude commented 10 years ago

Thanks. I will sort this out

eddiejaoude commented 10 years ago
$_SERVER['SERVER_NAME']

And

$_SERVER['APPLICATION_ENV']

Are unavailable when running via CLI

eddiejaoude commented 10 years ago

From commit message

Default config has basic logger to standard error log (configured by
web server). Config dist file added to give examples of possible
configuration