Browse Source

log prod

v1
charly 3 years ago
parent
commit
788a0539fb
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      config/packages/prod/monolog.yaml

+ 3
- 2
config/packages/prod/monolog.yaml View File

@@ -8,9 +8,10 @@ monolog:
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
# formatter: monolog.formatter.json
console:
type: console
process_psr_3_messages: false

Loading…
Cancel
Save