Skip to content

Commit

Permalink
Merge pull request #1579 from ConductionNL/feature/IM-86/rename-log-e…
Browse files Browse the repository at this point in the history
…vent

Renamed log created event, consistency with other default gateway events
  • Loading branch information
WilcoLouwerse authored Oct 26, 2023
2 parents 3c504bb + 425954d commit 746340a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/Logger/SessionDataProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand Down

0 comments on commit 746340a

Please sign in to comment.