diff --git a/app/config/packages/dev/monolog.yaml b/app/config/packages/dev/monolog.yaml index b1998da..8a61afd 100644 --- a/app/config/packages/dev/monolog.yaml +++ b/app/config/packages/dev/monolog.yaml @@ -2,7 +2,9 @@ monolog: handlers: main: type: stream - path: "%kernel.logs_dir%/%kernel.environment%.log" + # Output logs to Docker stderr by default + path: "php://stderr" + #path: "%kernel.logs_dir%/%kernel.environment%.log" level: debug channels: ["!event"] # uncomment to get logging in your browser diff --git a/app/config/packages/prod/monolog.yaml b/app/config/packages/prod/monolog.yaml index 96dbf96..e8b3ef9 100644 --- a/app/config/packages/prod/monolog.yaml +++ b/app/config/packages/prod/monolog.yaml @@ -9,7 +9,9 @@ monolog: - ^/ nested: type: stream - path: "%kernel.logs_dir%/%kernel.environment%.log" + # Output logs to Docker stderr by default + path: "php://stderr" + #path: "%kernel.logs_dir%/%kernel.environment%.log" level: debug console: type: console