>Has someone ever done some code to pull out recent entries from a Windows Event Viewer log? That would be on a Windows Server 2008. We are looking for additonal support as once deployed, we do not have much access to analyze those logs so if we could pull that out directly from the Web application, that would be useful.
>
>I have done a lot of things with Event Viewer log in my framework. But, this is not support I currently have right now. I am looking to add that support. Before doing too far in that direction, I thought I would create a thread to see if someone already did that and things to consider.
Just as general information, in Linux there is the "tail" command.
For Windows you can Google [tail command windows]
This is primarily aimed at text log files rather than something like Windows Event Logs, but if you've already pulled log entries into some other format it might give you some ideas.
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up