Make audit log configurable.

This commit is contained in:
James Cole
2020-08-13 10:39:21 +02:00
parent 5f9ba78d94
commit ee3ef4b8cc
2 changed files with 8 additions and 1 deletions

View File

@@ -78,7 +78,7 @@ return [
'days' => 7,
],
'audit' => [
'driver' => 'daily',
'driver' => envNonEmpty('AUDIT_LOG_CHANNEL', 'daily'),
'path' => storage_path('logs/ff3-audit.log'),
'tap' => [AuditLogger::class],
'level' => 'info',