设置日志记录

This commit is contained in:
2025-08-30 11:38:45 +08:00
parent fd826e9a22
commit 2dbb1bcde0

View File

@@ -174,7 +174,7 @@ return [
'level' => [],
// 'apart_level' => ['sql'],//配置单独的文件正常我们建议把sql语句放在单独的文件中
'max_files'=>100,//最大保存日志数超过tp将自动清理
'close'=>false,//是否关闭日志写入
// 'close'=>false,//是否关闭日志写入
// 'json'=>true,//json格式日志开启
],
// +----------------------------------------------------------------------