Re: Question about logfiles in Python

2005-02-23 Thread Harlin Seritt
I'm not familiar with Exchange log files but this can be done rather easily assuming the log file is a flat text file (which usually these are not-- like NT event logs). search_str = "words and phrases" data = open(LogFile, 'r').read() if search_str in data: flag = 1 If they are binary files,

Question about logfiles in Python

2005-02-23 Thread Courtis Joannis
Hello readers, my name is Joannis Courtis and I study computer science in Frankfurt/Germany. I hope you can help me, because I try to find a script that helps me to filter logfiles which I received from the Microsoft Exchange Server. Can you help me, where I can find a script in Python. Regards J