Top "Event-log" questions

An event log is a file used to record a timeline of events along with contextual metadata

How to find out more about Application Hang event?

If a VB6 app is causing an Application Hang event to appear in the Event Viewer, how can I find …

vb6 event-log freeze
Reinitialize Windows Event Log service without reboot

I am working on application which logs to a custom event log. Application was recently rebranded, and the name of …

windows winapi event-log service-control-manager
Can I list all registered event sources?

My windows service writes to the event log, but I've had various problems getting this correct. So in the process …

c# event-log
How do I avoid this SecurityException when writing to the Event Log?

I can't seem to write to the event log in .NET. I get the following exception: System.Security.SecurityException: The …

c# windows-7 event-log
Getting IIS application pool recycle events to be logged in the Windows Event Log

I am trying to get IIS 7 application pool recycle, start, stop, etc. events to be logged to the Windows Event …

iis logging iis-7 event-log application-pool
Event Logging IPAddress does not always resolve

I am hooking the Security event log with System.Diagnostics.Eventing.Reader.EventLogWatcher class, and I am watching Event ID 4625 …

c# event-log system.diagnostics
ETW, .NET 4.5 - how to write to the event log?

I am trying to wrap my head around ETW and how to integrate t into a high Performance application. We …

.net-4.5 event-log etw
Application Event log exceeding maximum allowed count

Somehow, the Application Event log count ended up to 18,446,744,073,709,551,499. This causes MMC snap-in to fail when I want to see …

windows event-log event-viewer
Log to event viewer on Windows with C++

I want to use log on my C++ application. However, I'd like to use Windows (10) event viewer, instead of text …

c++ windows-10 event-log event-viewer
Security exception when writting to an EventLog from an ASP.NET MVC application

I have a library that I created with some business logic that includes writing to a System.Diagnostics.EventLog instance. …

asp.net-mvc iis-6 event-log securityexception