-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Description
Is your feature request related to a problem? Please describe.
When creating a new Windows service, a zap core for Windows Event Log output is created and appended to the CollectorSettings.LoggingOptions that were passed in by the user. Unfortunately, this means the windowsEventLogCore is the first in line of zap cores to be executed. This leads to the LoggingOptions passed in not being applied to the Windows Event Log output.
Describe the solution you'd like
It would be preferable if the windowsEventLogCore was instead prepended to the LoggingOptions in newWithWindowsEventLogCore so that the options the user passed in will wrap the event log core, instead of the event log core wrapping the user's options.
Metadata
Metadata
Assignees
Labels
No labels