Skip to content

Commit

Permalink
Fix log configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
zbateson committed Jul 11, 2020
1 parent 70ed14a commit d1fa101
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/Common.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,13 @@ public function modify(Container $di)

public function modifyLogger(Container $di)
{
$logfile = $di->get('logfile');
$logfile = $di->lazyValue('logfile');
if ($logfile) {
$logger = $di->get('aura/project-kernel:logger');
$logger->pushHandler($di->newInstance(
'Monolog\Handler\StreamHandler',
[
'stream' => $file,
'stream' => $logfile,
]
));
}
Expand Down

0 comments on commit d1fa101

Please # to comment.