Mi 27 Mai 2009
By tdk

I take care of a few Scalix installations and one of the things that are a bit unusual, is the fact that the audit log and the event log each show a multiline block of text per event rather than just a single line. Using grep to search for every delivery of a message that originated from a user named  Bart Simpson is not as easy there as it would be in i. e. an exim logfile. Since I often needed to search something in the logs and got interested in Python, I wrote sxgreplog, which shows every block with a match to your search expression. You can limit the matches from the audit log to certain operation indicators (only user-signon of Lisa Simpson) and show every block as a single line.