Skip to content
WJunction - Webmaster Forum

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.

About the author

DoctorX
Active Member · Joined
1,625
Messages
161
Reactions
63
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom