Sfoglia il codice sorgente

laravel log的保存地址,修改

liuzejian 1 anno fa
parent
commit
54380f7edf
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      config/logging.php

+ 1 - 1
config/logging.php

@@ -66,7 +66,7 @@ return [
 
         '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'),
             'days' => 14,
         ],