Skip to content

Commit 21d3c04

Browse files
author
symfony-flex-server[bot]
authored
Merge pull request #894
2 parents 45a2d98 + 83d75c5 commit 21d3c04

File tree

5 files changed

+46
-0
lines changed

5 files changed

+46
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
monolog:
2+
handlers:
3+
main:
4+
type: stream
5+
path: php://stderr
6+
level: debug
7+
channels: ["!event"]
8+
# uncomment to get logging in your browser
9+
# you may have to allow bigger header sizes in your Web server configuration
10+
#firephp:
11+
# type: firephp
12+
# level: info
13+
#chromephp:
14+
# type: chromephp
15+
# level: info
16+
console:
17+
type: console
18+
process_psr_3_messages: false
19+
channels: ["!event", "!doctrine", "!console"]
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# As of Symfony 5.1, deprecations are logged in the dedicated "deprecation" channel when it exists
2+
#monolog:
3+
# channels: [deprecation]
4+
# handlers:
5+
# deprecation:
6+
# type: stream
7+
# channels: [deprecation]
8+
# path: php://stderr
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
monolog:
2+
handlers:
3+
main:
4+
type: fingers_crossed
5+
action_level: error
6+
handler: nested
7+
excluded_http_codes: [404, 405]
8+
buffer_size: 50 # How many messages should be saved? Prevent memory leaks
9+
nested:
10+
type: stream
11+
path: php://stderr
12+
level: debug
13+
formatter: monolog.formatter.json
14+
console:
15+
type: console
16+
process_psr_3_messages: false
17+
channels: ["!event", "!doctrine"]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../3.3/config/packages/test
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../3.3/manifest.json

0 commit comments

Comments
 (0)