feat(logging): implement dedicated logging for Telepagos events and update logging configuration
This commit is contained in:
@@ -18,7 +18,7 @@ return [
|
||||
|
|
||||
*/
|
||||
|
||||
'default' => env('LOG_CHANNEL', 'stack'),
|
||||
'default' => env('LOG_CHANNEL', 'daily'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
@@ -73,6 +73,14 @@ return [
|
||||
'replace_placeholders' => true,
|
||||
],
|
||||
|
||||
'telepagos' => [
|
||||
'driver' => 'daily',
|
||||
'path' => storage_path('logs/telepagos.log'),
|
||||
'level' => env('TELEPAGOS_LOG_LEVEL', 'info'),
|
||||
'days' => env('TELEPAGOS_LOG_DAYS', 30),
|
||||
'replace_placeholders' => true,
|
||||
],
|
||||
|
||||
'slack' => [
|
||||
'driver' => 'slack',
|
||||
'url' => env('LOG_SLACK_WEBHOOK_URL'),
|
||||
|
||||
Reference in New Issue
Block a user