X-Git-Url: https://git.rapsys.eu/airlibre/blobdiff_plain/21a80c7a3237585e664a707b72d10f1a9ca3b477..80b75563dfd3002cb5c30a6e5e558f06f19a4c38:/config/packages/monolog.yaml diff --git a/config/packages/monolog.yaml b/config/packages/monolog.yaml index 9db7d8a..bf05452 100644 --- a/config/packages/monolog.yaml +++ b/config/packages/monolog.yaml @@ -7,8 +7,9 @@ when@dev: handlers: main: type: stream - path: "%kernel.logs_dir%/%kernel.environment%.log" + path: php://stderr level: debug + formatter: monolog.formatter.line channels: ["!event"] # uncomment to get logging in your browser # you may have to allow bigger header sizes in your Web server configuration @@ -50,7 +51,7 @@ when@prod: type: stream path: php://stderr level: debug - formatter: monolog.formatter.json + formatter: monolog.formatter.line console: type: console process_psr_3_messages: false @@ -59,4 +60,4 @@ when@prod: type: stream channels: [deprecation] path: php://stderr - formatter: monolog.formatter.json + formatter: monolog.formatter.line