mirror of
https://github.com/symfony/recipes.git
synced 2026-09-14 16:46:24 +03:00
Merge pull request #775
This commit is contained in:
@@ -17,7 +17,3 @@ monolog:
|
||||
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
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
# 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"
|
||||
@@ -16,11 +16,3 @@ monolog:
|
||||
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"]
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
../../../3.1/config/packages/dev
|
||||
@@ -1,19 +0,0 @@
|
||||
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"]
|
||||
@@ -0,0 +1 @@
|
||||
../../../../3.1/config/packages/prod/deprecations.yaml
|
||||
@@ -14,13 +14,3 @@ monolog:
|
||||
type: console
|
||||
process_psr_3_messages: false
|
||||
channels: ["!event", "!doctrine"]
|
||||
|
||||
# Uncomment to log deprecations
|
||||
#deprecation:
|
||||
# type: stream
|
||||
# path: "%kernel.logs_dir%/%kernel.environment%.deprecations.log"
|
||||
#deprecation_filter:
|
||||
# type: filter
|
||||
# handler: deprecation
|
||||
# max_level: info
|
||||
# channels: ["php"]
|
||||
|
||||
Reference in New Issue
Block a user