From 1b4969358d8147c6071138148e7e346cb337b5dc Mon Sep 17 00:00:00 2001 From: sabelo Date: Sun, 28 Jul 2024 20:09:02 -0300 Subject: [PATCH] fix in slim monologger for docker deployment --- src/settings.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/settings.php b/src/settings.php index 30a3bf8..ef0d46a 100644 --- a/src/settings.php +++ b/src/settings.php @@ -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' => [