feat(logging): implement scheduled logs command and enhance backup/task scheduling with cron checks
This commit is contained in:
@@ -118,6 +118,20 @@ return [
|
||||
'emergency' => [
|
||||
'path' => storage_path('logs/laravel.log'),
|
||||
],
|
||||
|
||||
'scheduled' => [
|
||||
'driver' => 'daily',
|
||||
'path' => storage_path('logs/scheduled.log'),
|
||||
'level' => env('LOG_LEVEL', 'debug'),
|
||||
'days' => 1, // Keep logs for 1 day only (truncated daily)
|
||||
],
|
||||
|
||||
'scheduled-errors' => [
|
||||
'driver' => 'daily',
|
||||
'path' => storage_path('logs/scheduled-errors.log'),
|
||||
'level' => 'error',
|
||||
'days' => 7, // Keep error logs for 7 days
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
|
Reference in New Issue
Block a user