mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-22 09:53:35 +02:00
Updated recipe for monolog/bundle.
This commit is contained in:
parent
fbc1c32463
commit
680297320b
3 changed files with 18 additions and 10 deletions
|
@ -5,6 +5,7 @@ monolog:
|
||||||
action_level: error
|
action_level: error
|
||||||
handler: nested
|
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:
|
nested:
|
||||||
type: stream
|
type: stream
|
||||||
path: "%kernel.logs_dir%/%kernel.environment%.log"
|
path: "%kernel.logs_dir%/%kernel.environment%.log"
|
||||||
|
@ -13,11 +14,13 @@ monolog:
|
||||||
type: console
|
type: console
|
||||||
process_psr_3_messages: false
|
process_psr_3_messages: false
|
||||||
channels: ["!event", "!doctrine"]
|
channels: ["!event", "!doctrine"]
|
||||||
deprecation:
|
|
||||||
type: stream
|
# Uncomment to log deprecations
|
||||||
path: "%kernel.logs_dir%/%kernel.environment%.deprecations.log"
|
#deprecation:
|
||||||
deprecation_filter:
|
# type: stream
|
||||||
type: filter
|
# path: "%kernel.logs_dir%/%kernel.environment%.deprecations.log"
|
||||||
handler: deprecation
|
#deprecation_filter:
|
||||||
max_level: info
|
# type: filter
|
||||||
channels: ["php"]
|
# handler: deprecation
|
||||||
|
# max_level: info
|
||||||
|
# channels: ["php"]
|
||||||
|
|
|
@ -1,7 +1,12 @@
|
||||||
monolog:
|
monolog:
|
||||||
handlers:
|
handlers:
|
||||||
main:
|
main:
|
||||||
|
type: fingers_crossed
|
||||||
|
action_level: error
|
||||||
|
handler: nested
|
||||||
|
excluded_http_codes: [404, 405]
|
||||||
|
channels: ["!event"]
|
||||||
|
nested:
|
||||||
type: stream
|
type: stream
|
||||||
path: "%kernel.logs_dir%/%kernel.environment%.log"
|
path: "%kernel.logs_dir%/%kernel.environment%.log"
|
||||||
level: debug
|
level: debug
|
||||||
channels: ["!event"]
|
|
||||||
|
|
|
@ -617,7 +617,7 @@
|
||||||
"repo": "github.com/symfony/recipes",
|
"repo": "github.com/symfony/recipes",
|
||||||
"branch": "master",
|
"branch": "master",
|
||||||
"version": "3.3",
|
"version": "3.3",
|
||||||
"ref": "6240c6d43e8237a32452f057f81816820fd56ab6"
|
"ref": "a89f4cd8a232563707418eea6c2da36acd36a917"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"./config/packages/dev/monolog.yaml",
|
"./config/packages/dev/monolog.yaml",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue