ThinkPHP5关闭日志写入

ThinkPHP5默认开启了日志的写入。

如果要彻底关闭日志,打开 application 目录下的 config.php

找到 log那一块儿,可以看到

`type` => 'file'

type可选file socket test,其中test为关闭日志写入。

Leave a Comment

豫ICP备19001387号-1