• Archives

  • Categories

Feb 22

Remember to clear your Apache logs

This is what happens if you don’t clear your Apache logs:

jr ~/i.justrealized.com/log: ls -al
total 205748
drwxr-s— 2 me     www-data      4096 Aug  5  2008 .
drwxr-s— 8 me     www-data      4096 Sep  9 14:58 ..
-rw-r–r– 1 root   www-data 210250161 Feb 21 17:08 access.log
-rw-r–r– 1 root   www-data    205822 Feb 21 15:49 error.log

That’s 210 MB of data I am least interested with. By the way I just realized delete the log actually lowers memory usage significantly.

Possibly related:

  1. Bye Apache, Hi Lighty
  2. How to know which processes uses the most resources
  3. How to do logging in CakePHP

No comments yet. Leave yours here.


WordPress powered and Django inspired.
Love and elephants come after.
RSS: Posts and comments.