This content has been marked as final. 
    
Show                 2 replies
    
- 
        1. Re: Jboss Loggerstarksm64 Jul 30, 2006 5:52 PM (in response to ypasmk)This is a log4j config issue, but I would doubt this is supported. See 
 http://logging.apache.org/log4j/docs/
- 
        2. Re: Jboss Loggerjaikiran Jul 31, 2006 2:08 AM (in response to ypasmk)You could play with the "Threshold" attribute on the appender. You could have 2 appenders(one with Threshold set to INFO and another set to DEBUG). You could then point your logger to these 2 appenders as follows: <category name="myPackage.myclass"> <appender-ref ref="MY_DEBUG_LOG"/> <appender-ref ref="MY_INFO_LOG"/> </category> 
 Even after setting the threshold on the appender, you will have to make sure that the appenders log only for the *specific* log level(i.e. appender with threshold INFO should NOT log DEBUG messages), have a look at:
 http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=64&t=001536
 http://logging.apache.org/log4j/docs/api/org/apache/log4j/varia/LevelMatchFilter.html
 
     
    