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');