Home  >  Article  >  Backend Development  >  日志文件有关问题

日志文件有关问题

WBOY
WBOYOriginal
2016-06-13 12:06:08921browse

日志文件问题

------解决方案--------------------
也不说下什么程序,猜你是thinkphp的,应该是你关的不对!你关的是thinkphp/conf/debug.php中的配置吗?另外你可以把日志的控制参数给读出来看看结果echo C('LOG_RECORD');
------解决方案--------------------
原理就是删除文件。。。。。
------解决方案--------------------
关闭调试模式。就可以不生成日志了TP
------解决方案--------------------
在开发模式下设置无效,需要先关闭
define('APP_DEBUG',false);
------解决方案--------------------
可以看看这篇文章
http://blog.sina.com.cn/s/blog_7fb1495b0100xkk8.html

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn