can i remove access.log?

Status
Not open for further replies.
6 comments
You also can set up a con job to automatically remove it every X days, or move it to a .tar.gz file...

Depend of your distro but it might be easy to setup, it usually ships with your webserver's package, but you can easily find how to on the web..
 
You can remote the Apache access_log, nothing bad will happen.
Easiest way is to trunicate it, just execute the following command:

Code:
echo > ./access_log

If you don't need Apache access_log for statistical data processing you can revert the access_log to /dev/null :)
 
Status
Not open for further replies.
Back
Top