chore: update monolog.yaml

This commit is contained in:
Maël Gangloff
2024-08-13 18:29:56 +02:00
parent ff2b2d7fb0
commit 34d946ba30
2 changed files with 8 additions and 12 deletions

View File

@@ -95,10 +95,6 @@ RUN set -eux; \
composer dump-env prod; \
composer run-script --no-dev post-install-cmd; \
chmod +x bin/console; \
sync
RUN set -eux; \
php bin/console assets:install; \
yarn install; \
yarn run build; \

View File

@@ -9,7 +9,7 @@ when@dev:
type: stream
path: "%kernel.logs_dir%/%kernel.environment%.log"
level: debug
channels: ["!event"]
channels: [ "!event" ]
# uncomment to get logging in your browser
# you may have to allow bigger header sizes in your Web server configuration
#firephp:
@@ -21,7 +21,7 @@ when@dev:
console:
type: console
process_psr_3_messages: false
channels: ["!event", "!doctrine", "!console"]
channels: [ "!event", "!doctrine", "!console" ]
when@test:
monolog:
@@ -30,8 +30,8 @@ when@test:
type: fingers_crossed
action_level: error
handler: nested
excluded_http_codes: [404, 405]
channels: ["!event"]
excluded_http_codes: [ 404, 405 ]
channels: [ "!event" ]
nested:
type: stream
path: "%kernel.logs_dir%/%kernel.environment%.log"
@@ -42,9 +42,9 @@ when@prod:
handlers:
main:
type: fingers_crossed
action_level: error
action_level: notice
handler: nested
excluded_http_codes: [404, 405]
excluded_http_codes: [ 404, 405 ]
buffer_size: 50 # How many messages should be saved? Prevent memory leaks
nested:
type: stream
@@ -54,9 +54,9 @@ when@prod:
console:
type: console
process_psr_3_messages: false
channels: ["!event", "!doctrine"]
channels: [ "!event", "!doctrine" ]
deprecation:
type: stream
channels: [deprecation]
channels: [ deprecation ]
path: php://stderr
formatter: monolog.formatter.json