-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Is your feature request related to RFC7807? Please describe.
No.
Describe the solution you'd like
Currently, the ProblemLogger logs everything to log level INFO when the response is < 500 and everything >=500 on level ERROR.
It would be nice to:
- have a way to turn off logging completely (without setting the
min-levelforhttp-problemtoFATAL), - be able to define a default log level, and
- to be able to define a log level per response code and/or response code range (e.g.
401and403on levelWARN, everything else< 500on levelINFO, everything>= 500on levelWARN)
Additional information
This is slightly related to #512, but #512 focuses on stack traces, while this issue focuses on the log level.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels