Filtering out unwanted log entries

This is the script I was talking about. It's a Java program you run on a PC and it listens for logs being recorded at saves them to a local file on your PC.