Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Help! Script to Remove Code* log entries' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Help! Script to Remove Code* log entries
Authored by: sharumpe on Sep 21, '01 04:56:53PM

Oops - that (replace with) should read:

CustomLog "|/usr/bin/egrep -v '(default.ida|(cmd|root).exe)' >> /var/log/httpd/access_log" common

Mr. Sharumpe



[ Reply to This | # ]
Help! Script to Remove Code* log entries
Authored by: Anonymous on Sep 22, '01 08:01:16PM

Thanks for the egrep commands, they work great. I couldn't get the Apache conf log to work however. Apache starts but the access_log no longer functions (I use Apache 1.3.20). I'm not sure why. It's ok though, this way I log everything and have cron run a log cleaner script to get rid of all the entries I dont want to see in my stats. This has made the analog/report magic stats page much more useful! Thanks again.

Y



[ Reply to This | # ]