Hello all, Have tried to set the overall 'threshold' attribute of appenders to a customized debug level (using an XML config file). Got the following error:
log4j:ERROR Attribute "threshold" with value "TRACE#com.terayon.framework.debugLogging.XLevel" must have a value from the list "(all|debug|info|warn|error|fatal|off|null)". comment: The customized debug level is recognized by the root debug level 'value' The XML file is: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" threshold="TRACE#com.terayon.framework.debugLogging.XLevel"> <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender"> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%d{HH:mm:ss} %-5p [%-25.25t] %-120.120l: %m%n" /> </layout> </appender> <root> <level value="TRACE#com.terayon.framework.debugLogging.XLevel" /> <appender-ref ref="CONSOLE" /> </root> </log4j:configuration> How can I set the overall threshold to a customized debug level? thank you, Rami A. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
