Wow, did I forget to do something. I was just cleaning up my mac mini server. Well that’s what you do when you’ve been playing around with lots of configurations and compiled different versions of software to see if it will work. When I found out that I completely forgot about the logfiles for my Apache installation. Some of the logfiles of the more popular sites where already a whopping 100+ Mb.
Normally, for the Apple installed Apache, the logfiles would reside in
/var/log/httpd, but I didn’t think and just followed the standard layout that was provided by the installation which directed the logfiles into
/Library/Apache2/logs as you can see in the installation document. This means that the default weekly script (located in
/etc/periodic/weekly) that takes care of the regular maintenance of your Mac, and rotates your Apache logfiles, didn’t take care of my new Apache2 logfiles. (more…)