|
@@ -13,9 +13,9 @@
|
|
|
use think\Env;
|
|
|
\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',
|
|
|
'file_size' => 1024 * 1024 * 10,
|
|
|
]
|