设置日志记录

This commit is contained in:
2025-08-30 11:37:22 +08:00
parent 1524ad5edc
commit fd826e9a22

View File

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