I have two appenders, MAIN_LOG and DEBUG_LOG. I have the loggers set up to match Java class hierarchy as recommended. I have two interesting codebases, "com.mycompany" and "com.othercompany".

I want to send DEBUG and higher from "com.mycompany" and WARN and higher from "com.othercompany" to MAIN_LOG. And I want to send DEBUG and higher from "com.mycompany" and DEBUG and higher from "com.othercompany" to DEBUG_LOG.

Finally I want to handle stuff outside "com.mycompany" or "com.othercompany" (such as "org.thirdparty") by sending ERROR and higher to MAIN_LOG and INFO and higher to DEBUG_LOG.

How do I accomplish that?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to