Discard event logs with level Debug and below #1132
Unanswered
bretthysuik
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Try using |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've got a
Target
where I want to discard all logs with a level ofDebug
and below. Setting Logging.Level doesn't work because the mappings don't line up with my need (I needLogEventLevel.Information
and higher):Setting
Logging.LevelSwitch.MinimumLevel
toLogEventLevel.Information
results inArgumentOutOfRangeException
being thrown because there's no valid mapping forInformation
.The tool I'm calling in the
Target
doesn't have a configurable verbosity.Is there another way to configure logging to only log at
LogEventLevel.Information
and above?Beta Was this translation helpful? Give feedback.
All reactions