serilog-sinks-eventlog
serilog-sinks-eventlog copied to clipboard
A Serilog sink that writes events to the Windows Event Log
The `PlatformNotSupportedException` is problematic when the EventLog sink is configured through [Serilog.Settings.Configuration][1], where it's impossible to conditionally enable on Windows and disable on other platforms. Real scenario: the production app...
Basic functional test failing on PS 5.1, but works with PS 7.3. Other tested serilog.sinks (File, Console) function as expected. Error seems to be centered around this line: https://github.com/serilog/serilog-sinks-eventlog/blob/dac4ef3e2fa3ce4d389c15f22c7141430791ffb0/src/Serilog.Sinks.EventLog/LoggerConfigurationEventLogExtensions.cs#L70 Failed...
We rely on the Serilog.Expressions package to create custom expressions that are used to control what messages are written to particular sink. If the expression returns false then no message...
When writing to the Event Viewer, the log levels Debug and Verbose are logged as Information, and Fatal is logged as Error. In the file: https://github.com/serilog/serilog-sinks-eventlog/blob/dev/src/Serilog.Sinks.EventLog/Sinks/EventLog/EventLogSink.cs Is see the mapping:...
Our source code is leveraging Serilog to write into EventLog (Serilog.Sinks.EventLog v.3.1.0), but during Veracode scan we received notification that the library contains the next **Medium** severity flaw:  Security...
I want to configure the Sink in Config ``` "Serilog": { "MinimumLevel": { "Default": "Debug", //Fatal, Error, Warning, Information, Debug, Verbose. "Override": { "System": "Information", "Microsoft": "Information", "Microsoft.AspNetCore.Authentication": "Information" }...
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 9.0.1 to 13.0.1. Release notes Sourced from Newtonsoft.Json's releases. 13.0.1 New feature - Add JsonSelectSettings with configuration for a regex timeout Change - Remove portable assemblies from...
As the event log is only supported on the Windows Platform, should the classes be decorated with the SupportedOSPlatform attribute? [SupportedOSPlatform("windows")] See here for more information: https://docs.microsoft.com/en-gb/dotnet/fundamentals/code-analysis/quality-rules/ca1416
Hi, I'm using Serilog and using windows event log sink if I keep logName and Source the same then it works[shown in below snapshot] and if I keep it different...