Browse Source

laravel log的保存地址,修改

liuzejian 1 year ago
parent
commit
54380f7edf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      config/logging.php

+ 1 - 1
config/logging.php

@@ -66,7 +66,7 @@ return [
 
 
         'daily' => [
         'daily' => [
             'driver' => 'daily',
             'driver' => 'daily',
-            'path' => storage_path('logs/'.$hostname. '/'. env('APP_NAME').'/system/laravel.log'),
+            'path' => storage_path('logs/laravel.log'),
             'level' => env('LOG_LEVEL', 'debug'),
             'level' => env('LOG_LEVEL', 'debug'),
             'days' => 14,
             'days' => 14,
         ],
         ],