Home > Backend Development > PHP Tutorial > 日志文件问题

日志文件问题

WBOY
Release: 2016-06-23 13:50:23
Original
961 people have browsed it


回复讨论(解决方案)

也不说下什么程序,猜你是thinkphp的,应该是你关的不对!你关的是thinkphp/conf/debug.php中的配置吗?另外你可以把日志的控制参数给读出来看看结果 echo C('LOG_RECORD');

原理就是删除文件。。。。。

关闭调试模式。就可以不生成日志了TP

在开发模式下设置无效,需要先关闭
define('APP_DEBUG',false);

可以看看这篇文章
http://blog.sina.com.cn/s/blog_7fb1495b0100xkk8.html

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template