Is it possible to disable LoggingFailureAnalysisReporter
execution during spring boot failure?
I made a custom FailureAnalysisReporter
and I don’t want to report twice.
Advertisement
Answer
I just found a way to archive what i want, simply adding: <logger name="org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter" level="OFF" />
to my logback
configuration will disable any logging from this class, which is essencialy the only thing LoggingFailureAnalysisReporter
do.