Hi Henrik
Not exactly - as in not a Windows Event Log. I am talking about a system log file similar to the Visual Cron Server log file, but from a different application, but essentially, it is the same thing.
For example - the entries below are from a VC Log file, but I have amended it slightly to more accurately reflect the type of logfile I am talking about:
===============================================================================
22/12/2011 09:10:35 SVC099 Info Task started: read log file (5410)
22/12/2011 09:10:36 SVC099 Err Exception in Task: Could not find file 'C:\@@Trigger\Cutas\Log\20111221_C018CNF01.TXT.LINT'.
22/12/2011 09:10:36 SVC099 Info Task completed: read log file (5410)
22/12/2011 09:10:35 SVC001 Info Task started: read log file (5410)
22/12/2011 09:10:36 SVC001 Err Exception in Task: Could not find file 'C:\@@Trigger\Cutas\Log\20111221_C018CNF01.TXT.LINT'.
22/12/2011 09:10:36 SVC001 Info Task completed: read log file (5410)
21/12/2011 09:10:35 SVC001 Info Task started: read log file (5410)
21/12/2011 09:10:36 SVC001 Err Exception in Task: Could not find file 'C:\@@Trigger\Cutas\Log\20111221_C018CNF01.TXT.LINT'.
21/12/2011 09:10:36 SVC001 Info Task completed: read log file (5410)
================================================================================
In the above Example, I only want to list the entries for today (e.g. 22/12/2011), that are flagged as an error (Err) and only for the service 'SVC001'.
So I would get in my 'Read File' entry only the following record:
================================================================================
22/12/2011 09:10:36 SVC001 Err Exception in Task: Could not find file 'C:\@@Trigger\Cutas\Log\20111221_C018CNF01.TXT.LINT'.
================================================================================
I can then Email this error to the system administrator.
Hopefully that makes sense?
Cheers
Andy