diff --git a/logging/monolog_email.rst b/logging/monolog_email.rst index 7822de7c58c..f68f8c3237e 100644 --- a/logging/monolog_email.rst +++ b/logging/monolog_email.rst @@ -28,8 +28,7 @@ it is broken down. action_level: critical # to also log 400 level errors (but not 404's): # action_level: error - # excluded_404s: - # - ^/ + # excluded_http_codes: [404] handler: deduplicated deduplicated: type: deduplication @@ -62,7 +61,7 @@ it is broken down. to also log 400 level errors (but not 404's): action-level="error" And add this child inside this monolog:handler - ^/ + --> 'critical', // to also log 400 level errors (but not 404's): // 'action_level' => 'error', - // 'excluded_404s' => [ - // '^/', - // ], + // 'excluded_http_codes' => [404], 'handler' => 'deduplicated', ], 'deduplicated' => [