diff --git a/api/src/Logger/SessionDataProcessor.php b/api/src/Logger/SessionDataProcessor.php index a85960e7d..bd1d66a91 100644 --- a/api/src/Logger/SessionDataProcessor.php +++ b/api/src/Logger/SessionDataProcessor.php @@ -81,7 +81,7 @@ public function dispatchLogCreateAction(array $record): array $this->entityManager->getConnection()->getSchemaManager()->listDatabases() ) === true && $this->entityManager->getConnection()->getSchemaManager()->tablesExist('action') === true - && in_array($record['level_name'], ['DEBUG', 'INFO']) === false + && in_array($record['level_name'], ['DEBUG', 'INFO', 'NOTICE', 'WARNING']) === false ){ $event = new ActionEvent('commongateway.action.event', $record, 'core.log.create');