[slf4j-user] How to post-filter slf4j-created logs?

Joachim Durchholz jo at durchholz.org
Sat Jul 27 08:44:56 CEST 2019


Am 26.07.19 um 23:33 schrieb David Karr:
> Is there any way to make the text that slf4j logs pass 
> through a specific filter?

Log configuration would be done in the backend, not in SLF4J.
I.e. in Logback, log4j, or whatever you are using.

As a general guideline, if you need to configure SLF4J to do something 
and it isn't straightforward, it's probably intentionally impossible 
because the configuration should live in the backend.

Regards,
Jo


More information about the slf4j-user mailing list