RewriteEngine On
RewriteLog "/var/www/site_rewrite.log"
RewriteLogLevel 5
RewriteLogLevel default is 0.
The RewriteLogLevel directive sets the verbosity level of the rewriting logfile. The default level 0 means no logging, while 9 or more means that practically all actions are logged.
To disable the logging of rewriting actions simply set Level to 0. This disables all rewrite action logs.
Using a high value for Level will slow down your Apache server dramatically! Use the rewriting logfile at a Level greater than 2 only for debugging!
Add new comment