End of day

This commit is contained in:
R. Eric Wheeler 2016-07-13 15:07:27 -07:00
parent 245dcdaf85
commit a112e32393
1 changed files with 2 additions and 1 deletions

View File

@ -54,8 +54,9 @@ $app
->register(new ValidatorServiceProvider()) ->register(new ValidatorServiceProvider())
->register(new CsrfServiceProvider()) ->register(new CsrfServiceProvider())
->register(new MonologServiceProvider(), [ ->register(new MonologServiceProvider(), [
'monolog.logfile' => sprintf('%s/%s.log', $app->getLogDirectory(), $app['env']), //'monolog.logfile' => sprintf('%s/%s.log', $app->getLogDirectory(), $app['env']),
'monolog.name' => 'Resume.PHP', 'monolog.name' => 'Resume.PHP',
'monolog.logfile' => 'php://stderr',
'monolog.level' => $app->getDebug() ? Logger::DEBUG : Logger::INFO, 'monolog.level' => $app->getDebug() ? Logger::DEBUG : Logger::INFO,
'monolog.handler' => new \Monolog\Handler\StreamHandler('php://stderr'), 'monolog.handler' => new \Monolog\Handler\StreamHandler('php://stderr'),
]) ])