Lighttpd错误日志增加太快

我正在使用lighttpd v1.4.35,并且我开发了一个简单的网页,其中包含一些要testing的链接。

点击后,我注意到错误日志增加太快 。 在/etc/lighttpd/lighttpd.conf我有server.errorlogpath设置为:

server.errorlog = "/myPartition/myFolder/error.log" 

错误日志中的条目示例:

 2015-02-19 13:41:28: (log.c.164) server started 2015-02-19 13:41:57: (response.c.339) -- splitting Request-URI 2015-02-19 13:41:57: (response.c.340) Request-URI : /versions.php 2015-02-19 13:41:57: (response.c.341) URI-scheme : http 2015-02-19 13:41:57: (response.c.342) URI-authority : 172.22.196.7 2015-02-19 13:41:57: (response.c.343) URI-path (raw) : /versions.php 2015-02-19 13:41:57: (response.c.344) URI-path (clean): /versions.php 2015-02-19 13:41:57: (response.c.345) URI-query : 2015-02-19 13:41:57: (mod_access.c.135) -- mod_access_uri_handler called 2015-02-19 13:41:57: (response.c.473) -- before doc_root 

我应该configuration什么参数才能注册错误,而不是我单击或select的任何东西?

提前致谢。

在你的configuration的某个地方,你有这样的一行:

 debug.log-request-handling = "enable" 

通过在其前面加上#来评论它。

要找出它在哪里,你可以使用grep:

 grep -nr 'log-request-handling' /etc/lighttpd/* 

您在configuration中启用了一些debugging选项。 根据lighttpddebugging文档页面上的信息检查configuration,并禁用任何额外的debugging日志logging。