Skip to content

Event log uses inconsistent source names #10

@martshep

Description

@martshep

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 #9 has been created which includes this change.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions