Browse Source

write errors to file by default

main
ghost 1 year ago
parent
commit
8b42df4041
  1. 3
      config/packages/monolog.yaml

3
config/packages/monolog.yaml

@ -48,7 +48,8 @@ when@prod: @@ -48,7 +48,8 @@ when@prod:
buffer_size: 50 # How many messages should be saved? Prevent memory leaks
nested:
type: stream
path: php://stderr
# path: php://stderr
path: "%kernel.logs_dir%/%kernel.environment%.log"
level: debug
formatter: monolog.formatter.json
console:

Loading…
Cancel
Save