Windows Services

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Does anyone know how to surpress the standard service started message being written into the event log when writing a windows service in .Net? - I need to replace it with a custom one and would prefer to not have 2 eventlog entries for it.

Thanks
Jason
 
Set the AutoLog property on the service to false.

Nick Holmes.

Jason said:
Does anyone know how to surpress the standard service started message
being written into the event log when writing a windows service in .Net? - I
need to replace it with a custom one and would prefer to not have 2 eventlog
entries for it.
 
Back
Top