custom log date format

This commit is contained in:
xiaomlove
2021-04-26 20:51:41 +08:00
parent 63a2c71cb6
commit 465fd2bca8
2 changed files with 2 additions and 3 deletions

View File

@@ -37,7 +37,6 @@ return [
'channels' => [
'stack' => [
'driver' => 'stack',
'tab' => [\App\Logging\NexusFormatter::class],
'channels' => ['daily'],
'ignore_exceptions' => false,
],
@@ -52,7 +51,7 @@ return [
'driver' => 'daily',
'path' => env('LOG_FILE', '/tmp/nexus.log'),
'level' => env('LOG_LEVEL', 'debug'),
'tab' => [\App\Logging\NexusFormatter::class],
'tap' => [\App\Logging\NexusFormatter::class],
'days' => 14,
],