[support] Eliminating bot-noise

M. Fioretti mfioretti at nexaima.net
Thu Aug 30 18:27:34 UTC 2007


On Thu, Aug 30, 2007 08:15:15 AM -0500, Michael MacKenna
(mpmackenna at gmail.com) wrote:

> This may seem like a lot of work for solving your issue, but
> depending on how desperate you are it should work.  You could right
> a python script that digs through the log files and skips all the
> bogus lines that match a certain pattern

There is probably no need to start python or other interpreted
languages. Something like this:

grep -v FIRST_IRRELEVANT_PATTERN log_file | \
grep -v SECOND_IRRELEVANT_PATTERN         | \
grep -v THIRD_IRRELEVANT_PATTERN          | \

etc etc,
 > purged_log_file

would probably be lighter on the server, I think.

HTH,
	Marco
-- 
Help *everybody* love Free Standards and Free Software
http://digifreedom.net/


More information about the support mailing list