Remove Logging Function
-
Hello,
We have a function in our sunrise file that prohibits logs being written to our DB as we tend to fill up the DB to fast. Using this method:
// Disable Redirection logging
add_filter(‘pre_option_redirection_options’, ‘XXXXX_redirection_options’);
function XXXXX_redirection_options () {
$options = array();
$options[‘log_redirections’] = FALSE;
$options[‘log_404s’] = FALSE;
return $options;
}It seems one of our servers is reporting several errors as it tries to still do this function. This error is poping up and taking a lot of resources:
AH00124: 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.
It is linked to the function continuing to insert into tables that don’t exist.
Have to identified a method to full disable the logging function?
Thanks.
The topic ‘Remove Logging Function’ is closed to new replies.