什么是LOGLEVEL调试? [英] What is Loglevel debug?

查看:1134
本文介绍了什么是LOGLEVEL调试?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的网站我的error.log文件说:

My error.log file for my site 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

我的问题是,什么是LogLevel的?我GOOGLE了它,但它看起来像我刚开始关于Java的东西。我们的网站是在PHP。

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.

更新

我添加 LogLevel的调试来的apache2.conf并重新启动Apache的,但我得到什么错误日志不同。

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

推荐答案

在debian的,编辑/etc/apache2/apache2.conf中并添加:

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

从浏览器访问HTTP的网页,如果bug仍然存在,
您将看到有关您的错误文件中的一些信息:

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

这篇关于什么是LOGLEVEL调试?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆