Browse Source

set log formatter by default

main
ghost 1 year ago
parent
commit
e97c4ec27f
  1. 2
      config/packages/monolog.yaml

2
config/packages/monolog.yaml

@ -51,7 +51,7 @@ when@prod:
# path: php://stderr # path: php://stderr
path: "%kernel.logs_dir%/%kernel.environment%.log" path: "%kernel.logs_dir%/%kernel.environment%.log"
level: debug level: debug
formatter: monolog.formatter.json # formatter: monolog.formatter.json
console: console:
type: console type: console
process_psr_3_messages: false process_psr_3_messages: false

Loading…
Cancel
Save