Question

We are trying to cut back some space on our linux-based server and noticed that within ./tmp there is a file called rewrite.log that is 41G. I'm not entirely sure if I can delete this file, or how/if I can downsize it.

Thank you,

Brandon

Was it helpful?

Solution 2

This is a log file created by the Apache HTTPD server. mod_rewrite is what is creating it. You could safely delete it, or just change the LogLevel in your httpd.conf so that it does not output as much info. If I were you, I would 1) stop the HTTPD server, 2) delete the log file, 3) edit the httpd.conf file and set LogLevel to warn and 4) start the HTTPD server. Hope this helps.

OTHER TIPS

You need to turn off RewriteLog.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top