You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was resolving an issue that while AddAplicationInsightsLoggerProvider() sets the default filter rule to LogLevel.Warning (here) in the end it was ignored.
I used Serilog with UseSerilog() and writeToProviders: true.
As I understand this is because Serilog installs its own SerilogLoggerFactory which ignores .NET logging filters.
It is okay but please make it obvious from the readme documentation.
P.S. The same is true for Serilog.AspNetCore
The text was updated successfully, but these errors were encountered:
Hi!
I was resolving an issue that while
AddAplicationInsightsLoggerProvider()
sets the default filter rule toLogLevel.Warning
(here) in the end it was ignored.I used Serilog with
UseSerilog()
andwriteToProviders: true
.As I understand this is because Serilog installs its own
SerilogLoggerFactory
which ignores .NET logging filters.It is okay but please make it obvious from the readme documentation.
P.S. The same is true for
Serilog.AspNetCore
The text was updated successfully, but these errors were encountered: