开发者

What is Loglevel debug?

My error.log file for my sit开发者_运维百科e says

Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://URL/TO/REFERER

My question is, what is LogLevel? I've googled it but it seems like I'm just getting things about java. Our site is in PHP.

Update

I added LogLevel debug to the apache2.conf and restarted apache but am getting nothing different in the error logs.


On debian, edit /etc/apache2/apache2.conf and add :

RewriteLogLevel 3
RewriteLog "/var/log/apache2/rewrite.log"

then reload apache :

/etc/init.d/apache2 reload

Access your http webpage from a browser, if the bug is still there, you will see some info about your error in the file :

/var/log/apache2/rewrite.log
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜