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:
buffer_size: 50 # How many messages should be saved? Prevent memory leaks buffer_size: 50 # How many messages should be saved? Prevent memory leaks
nested: nested:
type: stream type: stream
path: php://stderr # path: php://stderr
path: "%kernel.logs_dir%/%kernel.environment%.log"
level: debug level: debug
formatter: monolog.formatter.json formatter: monolog.formatter.json
console: console:

Loading…
Cancel
Save