MakeMeAdmin
MakeMeAdmin copied to clipboard
Event log uses inconsistent source names
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.