You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Olivier LAMY <LA...@accor-hotels.com> on 2002/10/29 15:32:01 UTC

Specifyin a log level to a class with xml config

Hello,
I used log4j with a properties file as :
#params pour log4j
log4j.rootLogger=DEBUG,A1,A2,A3
log4j.logger.com.accor.xsl.XSLUtil=ERROR
But no i use a xml file to config log4j. 
How can i have the same functionnality.
I tried something as :
<root>
<param name="log4j.logger.com.accor.xsl.XSLUtil" value="FATAL" /> 
<priority value="debug"/>
<appender-ref ref="FILEDEBUG"/>
<appender-ref ref="FILEERROR"/>
<appender-ref ref="MAILFATAL"/>
</root>
But no result 
Thanks to help me,
Olivier

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>