webman/log日志

sanrenc

问题描述

这里写问题描述
[2024-08-27 23:16:01] default.INFO: 127.0.0.1 GET 127.0.0.1:8787/manage/human/a/admin/json [33.2319ms] [webman/log]
[] []

日志后面出现的 [] []是什么,怎么去掉?

600 1 1
1个回答

Jonlinc

这个是配置文件log.php中formatter对应类的构造函数中的$includeStacktraces参数,把配置文件中的constructor默认值改成true就没有了。

×
🔝