Event Log Creation Utility

Goal: Create (or delete) a windows event log.

Solution: Eli's EventLogUtility (this download includes C# source).

Background: Short of commercial applications, I was surprised I couldn't find a tool like this. In particular, I needed it on a locked-down server for a web application which can write to the event log, but doesn't have the authority to create one. I decided a windows application would work best, so it could be run with a user's identity rather than the one used by the web application.

Instructions: Run the executable (or build your own) from the \bin\Release folder. Type the name of the Event Log and click either Create or Delete. Note that you need to close and re-open Event Viewer to see changes; Event Viewer only reads the list of logs when you start it. A message will appear indicating that the log was created or destroyed.

Limitations: You cannot delete any of the three default logs (Application, Security, or System). Errors are not reported.

Screen shot

No Comments