From 275cee0b04d864eb0830fbff95ae78f773f0e0b3 Mon Sep 17 00:00:00 2001 From: Santeri Hurnanen Date: Mon, 28 Oct 2024 08:18:17 +0200 Subject: [PATCH] UHF-10844: Add raven monolog logger https://git.drupalcode.org/project/raven\#monolog-module-integration --- src/HelfiApiBaseServiceProvider.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/HelfiApiBaseServiceProvider.php b/src/HelfiApiBaseServiceProvider.php index 8957b59..43741b1 100644 --- a/src/HelfiApiBaseServiceProvider.php +++ b/src/HelfiApiBaseServiceProvider.php @@ -37,6 +37,10 @@ public function register(ContainerBuilder $container) : void { 'name' => 'default_conditional_handler', 'formatter' => 'drush_or_json', ], + [ + 'name' => 'drupal.raven', + 'processors' => ['current_user', 'request_uri', 'ip', 'referer'], + ], ], ], ]);