MakeMeAdmin icon indicating copy to clipboard operation
MakeMeAdmin copied to clipboard

Event log uses inconsistent source names

Open martshep opened this issue 6 years ago • 0 comments

At the moment, service start and stop events get logged as "MakeMeAdmin", but events from the service get logged as "Make Me Admin". It would be nice to make these consistent and use one source name.

Suggested change is to change the SourceName defined in ApplicationLog.cs from "Make Me Admin" to "MakeMeAdmin" and add a ServiceStartStop entry to EventID.cs which covers the built-in service start and stop events:

    /// <summary>
    /// The built-in service functionality uses Event ID 0 to log service start/stop events.
    /// </summary>
    ServiceStartStop;   

A pull request https://github.com/pseymour/MakeMeAdmin/pull/9 has been created which includes this change.

martshep avatar Dec 07 '19 08:12 martshep