Fix audit logger.

This commit is contained in:
James Cole 2020-08-13 13:55:16 +02:00
parent d8b807df50
commit 831267b2ab
No known key found for this signature in database
GPG Key ID: B5669F9493CDE38D

View File

@ -58,7 +58,7 @@ return [
],
'audit' => [
'driver' => 'stack',
'channels' => ['daily_audit', 'stdout'],
'channels' => ['daily_audit', 'stdout_daily'],
],
'single' => [
'driver' => 'single',
@ -88,6 +88,12 @@ return [
'level' => 'info',
'days' => 90,
],
'stdout_daily' => [
'driver' => 'single',
'path' => 'php://stdout',
'tap' => [AuditLogger::class],
'level' => 'info',
],
'dailytest' => [
'driver' => 'daily',
'path' => storage_path('logs/test-ff3-' . PHP_SAPI . '.log'),