[slf4j-user] I need an exception for a specific appender

Durchholz, Joachim Joachim.Durchholz at hennig-fahrzeugteile.de
Thu Nov 14 18:28:15 CET 2013


I have use cases where some (not all) appenders should log specific messages even if the current log level would not normally allow that to happen.

I'm wondering what's the best way to do that, so any advice appreciated.

Here are the use cases:

1) Hierarchical logging. Messages are structured into hierarchical groups (think "step - substep - sub-sub-step"). Start and end of a group need to be announced. Some appenders can use the hierarchy to display the groups in a treeview, so these appenders should get the announcements.

2) I want to emit progress messages. Some appenders are able to display these in an area that gets overwritten with new progress messages, so these MUST get progress messages, but the other appenders should not receive them.


More information about the slf4j-user mailing list