fix in slim monologger for docker deployment
This commit is contained in:
parent
d644195bea
commit
1b4969358d
@ -17,7 +17,8 @@ return [
|
||||
// Monolog settings
|
||||
'logger' => [
|
||||
'name' => 'slim-app',
|
||||
'path' => isset($_ENV['docker']) ? 'php://stdout' : __DIR__ . '/../logs/app.log',
|
||||
//'path' => isset($_ENV['docker']) ? 'php://stdout' : __DIR__ . '/../logs/app.log',
|
||||
'path' => 'php://stdout',
|
||||
'level' => \Monolog\Logger::DEBUG,
|
||||
],
|
||||
'db' => [
|
||||
|
Loading…
Reference in New Issue
Block a user