瀏覽代碼

exclude deprecations from monolog mail handler

Olivier Massot 1 年之前
父節點
當前提交
46fa608dd6
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      config/packages/monolog.yaml

+ 2 - 2
config/packages/monolog.yaml

@@ -119,7 +119,7 @@ monolog:
             type:           fingers_crossed
             action_level:   info
             handler:        admin_info_deduplicated
-            channels: ['admin']
+            channels: ['admin', '!deprecation']
         admin_info_deduplicated:
             type: deduplication
             # the time in seconds during which duplicate entries are discarded (default: 60)
@@ -138,7 +138,7 @@ monolog:
             type:           fingers_crossed
             action_level:   critical
             handler:        admin_critical_deduplicated
-            channels: ['admin']
+            channels: ['admin', '!deprecation']
         admin_critical_deduplicated:
             type: deduplication
             # the time in seconds during which duplicate entries are discarded (default: 60)