logging, new unique ID and improve start case
This commit is contained in:
@@ -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' => [
|
||||
|
||||
Reference in New Issue
Block a user