Windows Event Log wrong Source column value
- by O.O
In the Event Viewer in Windows 7 there is a Source column that is set by my Windows Service application. The value is set to TOS and usually when a log entry is associated to my application, it has TOS as the Source column value.
However, when the service fails to start (or some other kind of error occurs) I get a Source of one of the following values:
Application Error
Service Control Manager
.NET Runtime
I don't understand why the value is not always TOS Also, is it possible to force it to use TOS every time?