feat(logging): add 6 domain-specific daily channels to config

This commit is contained in:
F4ilji
2026-07-05 23:11:27 +05:00
parent e3eda2adbc
commit dfe8de0680
+49 -1
View File
@@ -54,7 +54,7 @@ return [
'channels' => [
'stack' => [
'driver' => 'stack',
'channels' => ['single'],
'channels' => ['ai', 'email', 'vikon', 'vk', 'education', 'app'],
'ignore_exceptions' => false,
],
@@ -126,6 +126,54 @@ return [
'emergency' => [
'path' => storage_path('logs/laravel.log'),
],
'ai' => [
'driver' => 'daily',
'path' => storage_path('logs/ai.log'),
'level' => env('LOG_AI_LEVEL', 'debug'),
'days' => 14,
'replace_placeholders' => true,
],
'email' => [
'driver' => 'daily',
'path' => storage_path('logs/email.log'),
'level' => env('LOG_EMAIL_LEVEL', 'debug'),
'days' => 14,
'replace_placeholders' => true,
],
'vikon' => [
'driver' => 'daily',
'path' => storage_path('logs/vikon.log'),
'level' => env('LOG_VIKON_LEVEL', 'debug'),
'days' => 14,
'replace_placeholders' => true,
],
'vk' => [
'driver' => 'daily',
'path' => storage_path('logs/vk.log'),
'level' => env('LOG_VK_LEVEL', 'debug'),
'days' => 14,
'replace_placeholders' => true,
],
'education' => [
'driver' => 'daily',
'path' => storage_path('logs/education.log'),
'level' => env('LOG_EDUCATION_LEVEL', 'debug'),
'days' => 14,
'replace_placeholders' => true,
],
'app' => [
'driver' => 'daily',
'path' => storage_path('logs/app.log'),
'level' => env('LOG_APP_LEVEL', 'debug'),
'days' => 14,
'replace_placeholders' => true,
],
],
];