File tree Expand file tree Collapse file tree 4 files changed +58
-52
lines changed
symfony/monolog-bundle/3.7/config/packages Expand file tree Collapse file tree 4 files changed +58
-52
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2
2
# monolog:
3
3
# channels:
4
4
# - deprecation
5
+
6
+ when@dev :
7
+ monolog :
8
+ handlers :
9
+ main :
10
+ type : stream
11
+ path : " %kernel.logs_dir%/%kernel.environment%.log"
12
+ level : debug
13
+ channels : ["!event"]
14
+ # uncomment to get logging in your browser
15
+ # you may have to allow bigger header sizes in your Web server configuration
16
+ # firephp:
17
+ # type: firephp
18
+ # level: info
19
+ # chromephp:
20
+ # type: chromephp
21
+ # level: info
22
+ console :
23
+ type : console
24
+ process_psr_3_messages : false
25
+ channels : ["!event", "!doctrine", "!console"]
26
+
27
+ when@test :
28
+ monolog :
29
+ handlers :
30
+ main :
31
+ type : fingers_crossed
32
+ action_level : error
33
+ handler : nested
34
+ excluded_http_codes : [ 404, 405 ]
35
+ channels : [ "!event" ]
36
+ nested :
37
+ type : stream
38
+ path : " %kernel.logs_dir%/%kernel.environment%.log"
39
+ level : debug
40
+
41
+ when@prod :
42
+ monolog :
43
+ handlers :
44
+ main :
45
+ type : fingers_crossed
46
+ action_level : error
47
+ handler : nested
48
+ excluded_http_codes : [ 404, 405 ]
49
+ buffer_size : 50 # How many messages should be saved? Prevent memory leaks
50
+ nested :
51
+ type : stream
52
+ path : php://stderr
53
+ level : debug
54
+ formatter : monolog.formatter.json
55
+ console :
56
+ type : console
57
+ process_psr_3_messages : false
58
+ channels : [ "!event", "!doctrine" ]
59
+ # deprecation:
60
+ # type: stream
61
+ # channels: [deprecation]
62
+ # path: php://stderr
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments