M
Microsoft
I'm creating a windows service with C#, but am having a huge amount of
difficulties using the event log. In the design view of the service, I drop
an EventLog component. I name the source the same as my service app and the
log property I name with an appropriate name. However, this particular log
never gets any entries, regardless of the AutoLog property. (In fact, I
have the AUtoLog property set to false, but there are still log entries in
the System log (why there??) of the start and stop routines. Regardless,
the log entries I want to make manually (using this.SrvcLog.WriteEntry())
never make it to the log file in question.
This is really befuddling me and I sure could use some advice/suggestions...
difficulties using the event log. In the design view of the service, I drop
an EventLog component. I name the source the same as my service app and the
log property I name with an appropriate name. However, this particular log
never gets any entries, regardless of the AutoLog property. (In fact, I
have the AUtoLog property set to false, but there are still log entries in
the System log (why there??) of the start and stop routines. Regardless,
the log entries I want to make manually (using this.SrvcLog.WriteEntry())
never make it to the log file in question.
This is really befuddling me and I sure could use some advice/suggestions...