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
Describe the solution you'd like
It would be nice if a user could opt-in or opt-out for the default ProblemPostProcessors. Currently, they are registered (by intention) somehow hard-coded in the PostProcessorsRegistry:
In addition, in comparison to the custom PostProblemProcessors, these beans are just Pojos and no managed beans. Thus a replacement/adjustment of the functionality is not that easy. In our case we'd like to change the implementation of ProblemLogger. Instead of slf4j we'd like to use jboss-loggingand we would also log some additional fields (trace & span ids) beside the serialized http problem and context data.
Right now we use ASM to modify the bytecode to get rid of the registration. However, this approach isn't that maintainable and I would love to have a configuration option in place.
Thanks for pointing this out. I've seen that option, however then the trace and span id would be logged as part of the mdc field. I have some strict requirements to log these ids as dedicated fields with specific naming conventions.
Describe the solution you'd like
It would be nice if a user could
opt-in
oropt-out
for the defaultProblemPostProcessor
s. Currently, they are registered (by intention) somehow hard-coded in thePostProcessorsRegistry
:In addition, in comparison to the custom
PostProblemProcessor
s, these beans are just Pojos and no managed beans. Thus a replacement/adjustment of the functionality is not that easy. In our case we'd like to change the implementation ofProblemLogger
. Instead ofslf4j
we'd like to usejboss-logging
and we would also log some additional fields (trace & span ids) beside the serialized http problem and context data.Right now we use ASM to modify the bytecode to get rid of the registration. However, this approach isn't that maintainable and I would love to have a configuration option in place.
@lwitkowski wdyt?
The text was updated successfully, but these errors were encountered: