mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
chore: update monolog.yaml
This commit is contained in:
@@ -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; \
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user