Skip to content

Commit 44dff99

Browse files
committed
[FIX] Log file rename from laravel.log to evo.log.
1 parent 524ec24 commit 44dff99

2 files changed

Lines changed: 7 additions & 8 deletions

File tree

core/config/logging.php

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
use Monolog\Handler\StreamHandler;
44

55
return [
6-
76
/*
87
|--------------------------------------------------------------------------
98
| Default Log Channel
@@ -23,7 +22,7 @@
2322
|--------------------------------------------------------------------------
2423
|
2524
| Here you may configure the log channels for your application. Out of
26-
| the box, Laravel uses the Monolog PHP logging library. This gives
25+
| the box, Evo uses the Monolog PHP logging library. This gives
2726
| you a variety of powerful log handlers / formatters to utilize.
2827
|
2928
| Available Drivers: "single", "daily", "slack", "syslog",
@@ -40,22 +39,23 @@
4039

4140
'single' => [
4241
'driver' => 'single',
43-
'path' => EVO_STORAGE_PATH . 'logs/laravel.log',
42+
'path' => EVO_STORAGE_PATH . 'logs/evo.log',
4443
'level' => 'debug',
4544
],
4645

4746
'daily' => [
4847
'driver' => 'daily',
4948
'name' => env('APP_NAME', 'evo'),
50-
'path' => EVO_STORAGE_PATH . 'logs/laravel.log',
51-
'level' => 'debug',
52-
'days' => 7,
49+
'path' => EVO_STORAGE_PATH . 'logs/evo.log',
50+
'level' => env('LOG_LEVEL', 'debug'),
51+
'days' => env('LOG_DAILY_DAYS', 14),
52+
'replace_placeholders' => true,
5353
],
5454

5555
'slack' => [
5656
'driver' => 'slack',
5757
'url' => env('LOG_SLACK_WEBHOOK_URL'),
58-
'username' => 'Laravel Log',
58+
'username' => 'EVO Log',
5959
'emoji' => ':boom:',
6060
'level' => 'critical',
6161
],
@@ -78,5 +78,4 @@
7878
'level' => 'debug',
7979
],
8080
],
81-
8281
];
5.62 MB
Loading

0 commit comments

Comments
 (0)