summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole3/backend/config/packages/prod/monolog.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'admin/WebConsole3/backend/config/packages/prod/monolog.yaml')
-rw-r--r--admin/WebConsole3/backend/config/packages/prod/monolog.yaml23
1 files changed, 23 insertions, 0 deletions
diff --git a/admin/WebConsole3/backend/config/packages/prod/monolog.yaml b/admin/WebConsole3/backend/config/packages/prod/monolog.yaml
new file mode 100644
index 00000000..5bcdf06e
--- /dev/null
+++ b/admin/WebConsole3/backend/config/packages/prod/monolog.yaml
@@ -0,0 +1,23 @@
+monolog:
+ handlers:
+ main:
+ type: fingers_crossed
+ action_level: error
+ handler: nested
+ excluded_http_codes: [404, 405]
+ 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"]