From 425954d14784623f650f606e8cb0f842b6dc21e2 Mon Sep 17 00:00:00 2001 From: Wilco Louwerse Date: Thu, 26 Oct 2023 12:01:49 +0200 Subject: [PATCH] Renamed log created event, consistency with other default gateway events --- api/src/Logger/SessionDataProcessor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Logger/SessionDataProcessor.php b/api/src/Logger/SessionDataProcessor.php index 317f119b2..ce568dbca 100644 --- a/api/src/Logger/SessionDataProcessor.php +++ b/api/src/Logger/SessionDataProcessor.php @@ -86,7 +86,7 @@ public function dispatchLogCreateAction(array $record): array && $this->entityManager->getConnection()->getSchemaManager()->tablesExist('action') === true && in_array($record['level_name'], ['DEBUG', 'INFO', 'NOTICE', 'WARNING']) === false ){ - $event = new ActionEvent('commongateway.action.event', $record, 'core.log.create'); + $event = new ActionEvent('commongateway.action.event', $record, 'commongateway.log.create'); $this->eventDispatcher->dispatch($event, 'commongateway.action.event');