Browse Source

日志优化

master
wanghongjun 2 days ago
parent
commit
0363ed59e9
  1. 4
      config/logging.php

4
config/logging.php

@ -59,13 +59,13 @@ return [
'single' => [
'driver' => 'single',
'path' => storage_path('logs/laravel.log'),
'path' => storage_path('logs/laravel/'.date('Y/m/d').'.log'),
'level' => env('LOG_LEVEL', 'debug'),
],
'daily' => [
'driver' => 'daily',
'path' => storage_path('logs/laravel/'.date('Y/m/d').'.log'),
'path' => storage_path('logs/laravel.log'),
'level' => env('LOG_LEVEL', 'debug'),
'days' => 14,
],

Loading…
Cancel
Save