" sed -e '/debug/d' < log > log.sed"
Apache logs have long entries that keep causing the stats program to segfault. The entries are of IIS webdav vulnerabilty exploit queries sent by worms from already infected servers. I havent been able to successfully rewrite the rules where these log entries are either truncated or ignored by Apache. So, the above command should solve the problem. I just replace "debug" with "x90" which does the trick.
" sed -e '/x90/d' < log > log.sed"
This is basically similar to grep -v x90, where all lines are printed, except those that have the pattern specified. In this case the pattern is x90.
Any help on configuring apache to ignore those log writes will be appreciated!