I have 2 appenders - A, B. By default, I want all messages go to B. If message has level >= ERROR or it's from com.mycomp.* logger I want it to go to A instead.
I'm trying to figure out if this configuration is possible in log4j 1.2. So far seems like it's not.
Edit: to clarify, here's exactly same question about Logback logback: Two appenders, multiple loggers, different levels