I've decided againt making a super fancy log which reads/writes and does archiving and more intelligent decision making. Why? The script needs to run very fast behind the scenes and it's called quite often. I opted to use a simple append write function (with file locking) to speed up things and it really, really makes a difference.
You'll need to manage the logs on your own via server side scripting (i.e. cron jobs which move the logs to an archive directory every Xth day of the month for example) to avoid nasty server performance hits. That's why I put in the logging disable commands also.
Less is more in my opinon.
-Jim
------------------
From: Jim Goldbloom
UBB Code Hacker
http://www.accessdeniedbbs.net/downloads for latest hacks