Windows Event Log wrong Source column value

Posted by O.O on Server Fault See other posts from Server Fault or by O.O
Published on 2014-06-12T20:56:35Z Indexed on 2014/06/12 21:26 UTC
Read the original article Hit count: 283

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?

© Server Fault or respective owner

Related posts about windows-7

Related posts about event-log