Skip to content

Commit 9851993

Browse files
authored
Update monolog.yaml
1 parent adb0480 commit 9851993

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed
Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
monolog:
22
handlers:
3-
# Enable if you need logs during (automated) tests
4-
#main:
5-
# type: stream
6-
# path: "%kernel.logs_dir%/%kernel.environment%.log"
7-
# level: debug
8-
# channels: ["!event"]
3+
main:
4+
type: fingers_crossed
5+
action_level: error
6+
handler: nested
7+
excluded_http_codes: [404, 405]
8+
nested:
9+
type: stream
10+
path: "%kernel.logs_dir%/%kernel.environment%.log"
11+
level: debug

0 commit comments

Comments
 (0)