Title: Remove Logging Function
Last modified: August 30, 2016

---

# Remove Logging Function

 *  [cbenson8](https://wordpress.org/support/users/cbenson8/)
 * (@cbenson8)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/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.
 * [https://wordpress.org/plugins/redirection/](https://wordpress.org/plugins/redirection/)

The topic ‘Remove Logging Function’ is closed to new replies.

 * ![](https://ps.w.org/redirection/assets/icon-256x256.jpg?rev=983639)
 * [Redirection](https://wordpress.org/plugins/redirection/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/redirection/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/redirection/)
 * [Active Topics](https://wordpress.org/support/plugin/redirection/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redirection/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redirection/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [cbenson8](https://wordpress.org/support/users/cbenson8/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/remove-logging-function/)
 * Status: not resolved