Skip to content

Commit

Permalink
Rotating file log
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurJCQ committed Feb 2, 2024
1 parent 2c7a73f commit 16f0076
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/packages/monolog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ when@prod:
excluded_http_codes: [404, 405]
buffer_size: 50 # How many messages should be saved? Prevent memory leaks
nested:
type: stream
type: rotating_file
path: "%kernel.logs_dir%/%kernel.environment%.log"
level: debug
formatter: monolog.formatter.json
level: info
max_file: 10
console:
type: console
process_psr_3_messages: false
Expand Down

0 comments on commit 16f0076

Please sign in to comment.