Skip to content

Commit f16f41c

Browse files
committed
Logging Configuration was lost
1 parent 7b49ed1 commit f16f41c

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

config/logging.php

+16
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,22 @@
33
return [
44

55
'channels' => [
6+
"stack" => [
7+
"driver" => "stack",
8+
"channels" => ["single", "daily"],
9+
"ignore_exceptions" => false,
10+
],
11+
"single" => [
12+
"driver" => "single",
13+
"path" => storage_path("logs/laravel.log"),
14+
"level" => env("LOG_LEVEL", "debug"),
15+
],
16+
"daily" => [
17+
"driver" => "daily",
18+
"path" => storage_path("logs/laravel.log"),
19+
"level" => env("LOG_LEVEL", "debug"),
20+
"days" => 14,
21+
],
622
'mails_sent' => [
723
'driver' => 'single',
824
'path' => storage_path('logs/mails_sent.log'),

0 commit comments

Comments
 (0)