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
Targetwhere I want to discard all logs with a level ofDebugand below. Setting Logging.Level doesn't work because the mappings don't line up with my need (I needLogEventLevel.Informationand higher):Setting
Logging.LevelSwitch.MinimumLeveltoLogEventLevel.Informationresults inArgumentOutOfRangeExceptionbeing thrown because there's no valid mapping forInformation.The tool I'm calling in the
Targetdoesn't have a configurable verbosity.Is there another way to configure logging to only log at
LogEventLevel.Informationand above?Beta Was this translation helpful? Give feedback.
All reactions