event-viewer

How would I go about backing up the Windows Application Log at a regular interval?

I'm working with an application that logs to Windows Application Log regularly (viewable through the Event Viewer administrative tool), and I'm looking for a way to back it up on a daily basis. This is important because we sometimes discover a problem with the application - and to investigate further we need information that was logged a...

how to add a user to the event log to log errors

Hello everyone, im just wondering how to add my service account for my asp.net application to the event viewer so it can log events and errors directly to the event viewer. thanks for any help provided :) Adam ...

Logging Application Block doesn't add log entries to Event Viewer on machines other than that on which the application was built

I am using the Logging Application Block (of Microsoft Enterprise Library 5.0) to log exceptions in the Event Viewer that occur in my WPF XBAP application. However, exceptions are only being logged if the application is run on my machine (the machine it was built on). Any other machine it doesn't log anything. I've tried to find a reas...

Get event viewer logs with win api in c++

My application need to save event viewer logs to a specified directory and it has to be done with win api. Application and System logs are required. EDIT: EvtExportLog - I found out that I can't use this function because minimal requirements are Win Server 2008, and I need this to work on Win Server 2000 and Win Server 2003. Any sugges...