logging, new unique ID and improve start case

This commit is contained in:
Fernando Ontiveros
2025-04-24 17:55:41 +00:00
parent 85020fbdbd
commit 66d2c7a6a4
5 changed files with 69 additions and 45 deletions

View File

@@ -42,16 +42,16 @@ return [
'single' => [
'driver' => 'single',
'path' => storage_path('logs/processmaker.log'),
'path' => storage_path('logs/laravel.log'),
'level' => 'debug',
],
'daily' => [
'driver' => 'daily',
'tap' => [App\Logging\CustomizeFormatter::class],
'path' => storage_path('logs/processmaker.log'),
'path' => storage_path('logs/laravel.log'),
'level' => 'debug',
'days' => $app->make('config')->get('app.log_max_files', 60),
'days' => $app->make('config')->get('app.log_max_files', 30),
],
'audit' => [
@@ -59,7 +59,7 @@ return [
'tap' => [App\Logging\CustomizeFormatter::class],
'path' => storage_path('logs/audit.log'),
'level' => 'debug',
'days' => $app->make('config')->get('app.log_max_files', 60),
'days' => $app->make('config')->get('app.log_max_files', 30),
],
'taskScheduler' => [
@@ -67,25 +67,7 @@ return [
'tap' => [App\Logging\CustomizeFormatter::class],
'path' => storage_path('logs/taskScheduler.log'),
'level' => 'debug',
'days' => $app->make('config')->get('app.log_max_files', 60),
],
'slack' => [
'driver' => 'slack',
'url' => env('LOG_SLACK_WEBHOOK_URL'),
'username' => 'Laravel Log',
'emoji' => ':boom:',
'level' => 'critical',
],
'papertrail' => [
'driver' => 'monolog',
'level' => 'debug',
'handler' => SyslogUdpHandler::class,
'handler_with' => [
'host' => env('PAPERTRAIL_URL'),
'port' => env('PAPERTRAIL_PORT'),
],
'days' => $app->make('config')->get('app.log_max_files', 30),
],
'stderr' => [