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
Description
When I use filters from code, it works. But when I try to use them on the configuration on json Appsettings file, it does not filter anything. It writes everything on all log files.
Expected behavior
Both codes are suppost to filter the log entries by level and write them into the respective files.
Relevant package, tooling and runtime versions
What Serilog version are you using, on what platform?
Visual Studio 2022 with nuget\packages\serilog.aspnetcore\7.0.0
The text was updated successfully, but these errors were encountered:
Description
When I use filters from code, it works. But when I try to use them on the configuration on json Appsettings file, it does not filter anything. It writes everything on all log files.
Reproduction
This works:
But this does not:
Expected behavior
Both codes are suppost to filter the log entries by level and write them into the respective files.
Relevant package, tooling and runtime versions
What Serilog version are you using, on what platform?
Visual Studio 2022 with nuget\packages\serilog.aspnetcore\7.0.0
The text was updated successfully, but these errors were encountered: