Browse Source

修改代码

fuyu 7 years ago
parent
commit
4c38770cfd
1 changed files with 3 additions and 3 deletions
  1. 3 3
      application/database.php

+ 3 - 3
application/database.php

@@ -13,9 +13,9 @@
 use think\Env;
 use think\Env;
 \think\Log::init(
 \think\Log::init(
     [
     [
-        'type'  =>  'File',
-        'path'  =>  APP_PATH.'logs/',
-        'apart_level'   =>  ['error','sql','info'],
+        'type'          =>  'File',
+        'path'          =>  APP_PATH.'logs/',
+        'apart_level'   =>  ['error','sql'],
         'time_format'   =>'c',
         'time_format'   =>'c',
         'file_size'     => 1024 * 1024 * 10,
         'file_size'     => 1024 * 1024 * 10,
     ]
     ]