On Thu, Aug 30, 2007 08:15:15 AM -0500, Michael MacKenna (mpmackenna@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