Bug 64584 - Bring back RewriteLog
Summary: Bring back RewriteLog
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_rewrite (show other bugs)
Version: 2.4-HEAD
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
Depends on:
Reported: 2020-07-07 21:59 UTC by otheus
Modified: 2020-07-07 21:59 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description otheus 2020-07-07 21:59:11 UTC
The elimination of the RewriteLog file was a poor design choice. Admins should have the choice to direct such logs to a separate file. Rewrite log out is noisy and normally not considered an "error", whereas apache error logs are more useful for finding problems with scripts and internal problems. The combined file puts greater requirements on monitoring systems, for instance, in which simply observing the file length would be more useful. The rewrite log is not only useful for debugging, but also light auditing of dynamic rules. 

Finally, mod_Security attempts to buffer output to the error file, and spits out the rewrite logs within its audit output. While mod_security can be configured to suppress lines from error_log, there is no way to selectively suppress them, reducing the value of this option.

Please reintroduce RewriteLog as an option which if set, sends the trace information to the specified file instead of via the apache logger.