File tree 4 files changed +72
-44
lines changed
4 files changed +72
-44
lines changed Original file line number Diff line number Diff line change 1
1
monolog :
2
- handlers :
3
- access :
4
- type : rotating_file
5
- path : ' %kernel.logs_dir%/%kernel.environment%.access.log'
6
- action_level : debug
7
- channels : [access]
8
- # 2 maanden
9
- max_files : 60
2
+ channels :
3
+ - deprecation # Deprecations are logged in the dedicated "deprecation" channel when it exists
4
+
5
+ when@dev :
6
+ monolog :
7
+ handlers :
8
+ main :
9
+ type : stream
10
+ path : ' %kernel.logs_dir%/%kernel.environment%.log'
11
+ level : debug
12
+ channels : ['!event']
13
+ # uncomment to get logging in your browser
14
+ # you may have to allow bigger header sizes in your Web server configuration
15
+ # firephp:
16
+ # type: firephp
17
+ # level: info
18
+ # chromephp:
19
+ # type: chromephp
20
+ # level: info
21
+ console :
22
+ type : console
23
+ process_psr_3_messages : false
24
+ channels : ['!event', '!doctrine', '!console']
25
+
26
+ when@test :
27
+ monolog :
28
+ handlers :
29
+ main :
30
+ type : fingers_crossed
31
+ action_level : error
32
+ handler : nested
33
+ excluded_http_codes : [404, 405]
34
+ channels : ['!event']
35
+ nested :
36
+ type : console
37
+ level : debug
38
+
39
+ when@prod :
40
+ monolog :
41
+ handlers :
42
+ access :
43
+ type : rotating_file
44
+ path : ' %kernel.logs_dir%/%kernel.environment%.access.log'
45
+ action_level : debug
46
+ channels : [access]
47
+ # 2 maanden
48
+ max_files : 60
49
+ main :
50
+ type : fingers_crossed
51
+ action_level : error
52
+ handler : nested
53
+ excluded_http_codes : [404, 405]
54
+ buffer_size : 50 # How many messages should be saved? Prevent memory leaks
55
+ nested :
56
+ type : stream
57
+ path : php://stderr
58
+ level : debug
59
+ formatter : monolog.formatter.json
60
+ console :
61
+ type : console
62
+ process_psr_3_messages : false
63
+ channels : ['!event', '!doctrine']
64
+ deprecation :
65
+ type : stream
66
+ channels : [deprecation]
67
+ path : php://stderr
68
+ formatter : monolog.formatter.json
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -164,10 +164,6 @@ services:
164
164
- { name: kernel.event_listener, event: kernel.request }
165
165
- { name: monolog.logger, channel: access }
166
166
167
- Monolog\Processor\GitProcessor :
168
- tags :
169
- - { name: monolog.processor, handler: access }
170
-
171
167
csr.table.factory :
172
168
alias : CsrDelft\Component\DataTable\DataTableFactory
173
169
Original file line number Diff line number Diff line change 542
542
"version": "v5.0.4"
543
543
},
544
544
"symfony/monolog-bundle": {
545
- "version": "3.3 ",
545
+ "version": "3.10 ",
546
546
"recipe": {
547
547
"repo": "github.com/symfony/recipes",
548
- "branch": "master ",
549
- "version": "3.3 ",
550
- "ref": "5f5bdd0f0bd94eedc40ebf637d3c9fe9e48c9689 "
548
+ "branch": "main ",
549
+ "version": "3.7 ",
550
+ "ref": "aff23899c4440dd995907613c1dd709b6f59503f "
551
551
},
552
552
"files": [
553
- "./config/packages/dev/monolog.yaml",
554
- "./config/packages/prod/monolog.yaml",
555
- "./config/packages/test/monolog.yaml"
553
+ "config/packages/monolog.yaml"
556
554
]
557
555
},
558
556
"symfony/options-resolver": {
You can’t perform that action at this time.
0 commit comments