mirror of
https://github.com/symfony/recipes.git
synced 2026-09-21 03:56:24 +03:00
94 lines
4.4 KiB
JSON
94 lines
4.4 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\"]",
|
|
" # # As of Symfony 4.3 you can configure the log output:",
|
|
" # console_formater_options:",
|
|
" # format: \"%%datetime%% %%start_tag%%%%level_name%%%%end_tag%% <comment>[%%channel%%]</> %%message%%%%context%%\\n\"",
|
|
" # multiline: false",
|
|
""
|
|
],
|
|
"executable": false
|
|
},
|
|
"config/packages/prod/monolog.yaml": {
|
|
"contents": [
|
|
"monolog:",
|
|
" handlers:",
|
|
" main:",
|
|
" type: fingers_crossed",
|
|
" action_level: error",
|
|
" handler: nested",
|
|
" buffer_size: 50 # How many messages should be saved? Prevent memory leaks",
|
|
" excluded_404s:",
|
|
" # regex: exclude all 404 errors from the logs",
|
|
" - ^/",
|
|
" nested:",
|
|
" type: stream",
|
|
" path: \"%kernel.logs_dir%/%kernel.environment%.log\"",
|
|
" level: debug",
|
|
" console:",
|
|
" type: console",
|
|
" process_psr_3_messages: false",
|
|
" channels: [\"!event\", \"!doctrine\"]",
|
|
" deprecation:",
|
|
" type: stream",
|
|
" path: \"%kernel.logs_dir%/%kernel.environment%.deprecations.log\"",
|
|
" deprecation_filter:",
|
|
" type: filter",
|
|
" handler: deprecation",
|
|
" max_level: info",
|
|
" channels: [\"php\"]",
|
|
""
|
|
],
|
|
"executable": false
|
|
},
|
|
"config/packages/test/monolog.yaml": {
|
|
"contents": [
|
|
"monolog:",
|
|
" handlers:",
|
|
" main:",
|
|
" type: stream",
|
|
" path: \"%kernel.logs_dir%/%kernel.environment%.log\"",
|
|
" level: debug",
|
|
" channels: [\"!event\"]",
|
|
""
|
|
],
|
|
"executable": false
|
|
}
|
|
},
|
|
"ref": "7ebdc801f5a14a858577667cdc7894ad542e9cee"
|
|
}
|
|
}
|
|
}
|