mirror of
https://github.com/symfony/recipes.git
synced 2026-09-11 23:26:27 +03:00
99 lines
4.5 KiB
JSON
99 lines
4.5 KiB
JSON
{
|
|
"manifests": {
|
|
"symfony/monolog-bundle": {
|
|
"manifest": {
|
|
"bundles": {
|
|
"Symfony\\Bundle\\MonologBundle\\MonologBundle": [
|
|
"all"
|
|
]
|
|
},
|
|
"copy-from-recipe": {
|
|
"config/": "%CONFIG_DIR%/"
|
|
}
|
|
},
|
|
"files": {
|
|
"config/packages/dev/monolog.yaml": {
|
|
"contents": [
|
|
"monolog:",
|
|
" handlers:",
|
|
" main:",
|
|
" type: stream",
|
|
" path: \"%kernel.logs_dir%/%kernel.environment%.log\"",
|
|
" level: debug",
|
|
" channels: [\"!event\"]",
|
|
" # uncomment to get logging in your browser",
|
|
" # you may have to allow bigger header sizes in your Web server configuration",
|
|
" #firephp:",
|
|
" # type: firephp",
|
|
" # level: info",
|
|
" #chromephp:",
|
|
" # type: chromephp",
|
|
" # level: info",
|
|
" console:",
|
|
" type: console",
|
|
" process_psr_3_messages: false",
|
|
" channels: [\"!event\", \"!doctrine\", \"!console\"]",
|
|
""
|
|
],
|
|
"executable": false
|
|
},
|
|
"config/packages/prod/deprecations.yaml": {
|
|
"contents": [
|
|
"# As of Symfony 5.1, deprecations are logged in the dedicated \"deprecation\" channel when it exists",
|
|
"#monolog:",
|
|
"# channels: [deprecation]",
|
|
"# handlers:",
|
|
"# deprecation:",
|
|
"# type: stream",
|
|
"# channels: [deprecation]",
|
|
"# path: \"%kernel.logs_dir%/%kernel.environment%.deprecations.log\"",
|
|
""
|
|
],
|
|
"executable": false
|
|
},
|
|
"config/packages/prod/monolog.yaml": {
|
|
"contents": [
|
|
"monolog:",
|
|
" handlers:",
|
|
" main:",
|
|
" type: fingers_crossed",
|
|
" action_level: error",
|
|
" handler: nested",
|
|
" excluded_http_codes: [404, 405]",
|
|
" buffer_size: 50 # How many messages should be saved? Prevent memory leaks",
|
|
" nested:",
|
|
" type: stream",
|
|
" path: \"%kernel.logs_dir%/%kernel.environment%.log\"",
|
|
" level: debug",
|
|
" console:",
|
|
" type: console",
|
|
" process_psr_3_messages: false",
|
|
" channels: [\"!event\", \"!doctrine\"]",
|
|
""
|
|
],
|
|
"executable": false
|
|
},
|
|
"config/packages/test/monolog.yaml": {
|
|
"contents": [
|
|
"monolog:",
|
|
" handlers:",
|
|
" main:",
|
|
" type: fingers_crossed",
|
|
" action_level: error",
|
|
" handler: nested",
|
|
" excluded_http_codes: [404, 405]",
|
|
" channels: [\"!event\"]",
|
|
" nested:",
|
|
" type: stream",
|
|
" path: \"%kernel.logs_dir%/%kernel.environment%.log\"",
|
|
" level: debug",
|
|
""
|
|
],
|
|
"executable": false
|
|
}
|
|
},
|
|
"ref": "2120e71a370db3a494b8afcc42d7cfb2cff6f910"
|
|
}
|
|
}
|
|
}
|