Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is Loglevel debug?

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

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.

like image 480
Webnet Avatar asked Mar 29 '10 19:03

Webnet


People also ask

What is Loglevel?

A log level or log severity is a piece of information telling how important a given log message is. It is a simple, yet very powerful way of distinguishing log events from each other. If the log levels are used properly in your application all you need is to look at the severity first.

What is logger debug used for?

If you want to print the value of a variable at any given point, you might call Logger. debug . This combination of a configurable logging level and logging statements within your program allow you full control over how your application will log its activity.

What is logger trace?

In contrast to message logs, in which records are made of noteworthy events that have occurred, trace logs capture transient information about the current operating environment when a component or application fails to operate as intended. Trace logs are available in English only.

What does log debug mean?

Debug logs are system-generated logs that are sent to your Dashboard along with every new conversation. They only appear if your developers have configured them in the SDK for a given game/app version. When configured, they appear under the metadata tab in the Issue details pane.


1 Answers

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
like image 148
Laurent Debricon Avatar answered Sep 21 '22 20:09

Laurent Debricon