Report Offensive Message

well you can just turn the logs off but
I'd rather limit their size. Seems the only way to do that is to write a program to capture the apache process, and at set times, shut down apache, clean out the log, and restart apache...

my webserver still running WAMP, haven't gotten around to changing the computer to Nix yet.

You should see my latest creation, I made a program that indexes my funny pictures folder, creates a ~1kb thumbnail image, sorts the images and creates the HTML webpages to list em off. While automatically flaging the not safe for work images and producing those thumbnails blurry.

I have the process run at noon every day. After an initial run, each subsequent run only takes about 30 seconds to do, even with the ancient hardware.

http://www.trevorsarchives.selfip.net/funpics/images/
Posted by Slayer_
7th May 2010