Small change in audit logger [skip ci]

This commit is contained in:
James Cole 2023-12-29 12:09:06 +01:00
parent 1e3665e54f
commit e47110607c
No known key found for this signature in database
GPG Key ID: B49A324B7EAD6D80

View File

@ -42,7 +42,7 @@ class AuditLogger
/** @var AbstractProcessingHandler $handler */
foreach ($logger->getHandlers() as $handler) {
$formatter = new LineFormatter("[%datetime%] %channel%.%level_name%: %message% %context% %extra%\n");
$formatter = new LineFormatter("[%datetime%] %channel%.%level_name%: %message% %context% %extra%\n", 'Y-m-d H:i:s', false, true);
$handler->setFormatter($formatter);
$handler->pushProcessor($processor);
}