DoctorX Active Member 1,625 2010 161 3,335 Jan 29, 2011 #1 hello can i remove access.log? it is about 14 gb in size and consume 65% of my space. can i remove it? or what should i do? Thanks
hello can i remove access.log? it is about 14 gb in size and consume 65% of my space. can i remove it? or what should i do? Thanks
J jase07 Active Member 538 2010 8 0 Jan 29, 2011 #3 yes you can remove it. there is also an option not to create access log in apache
K kolaps Active Member 122 2010 0 0 Jan 30, 2011 #5 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 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..
N nixhostcouk Member 13 2011 0 0 Feb 8, 2011 #6 You can remove it, you should setup some log rotation.. 14GB of logs is never good.
A ab1ko Active Member 33 2011 0 0 Feb 9, 2011 #7 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
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