Saving event logs

  • Thread starter Thread starter Ken Mulh
  • Start date Start date
K

Ken Mulh

Is there any way through .net to save off the application event log to a
file short of looping through each entry and saving it? I need the
"Save As" functionality provided in event viewer in my application.
 
Hi Ken,

Thanks for your posting. As for the Saving Evenlog, I think Loop through
the EventLog.Entries and manually save them will be the only existing means
currectly since there is no buildin means to directly access the eventlog
's system physical file storage like the Eventlog Viewer. Also the .evt
file is a unrecognized format for us to use directly. In fact , some
existing 3rd party tools on the web also use the EventLog.Entries to
retrieve eventlog entries and manually export them to different kind of
storages.

Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
Back
Top