i am using log4j in my project .because of few exceptions printing into log4j log file it is taking much time so i want to avoid to append one major exception in log4j log. can u people help me.
this is my log4j config file , i am using tomcat server <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"> <appender name="console" class="org.apache.log4j.ConsoleAppender"> <layout class="org.apache.log4j.PatternLayout"> </layout> </appender> <appender name="rolling-file" class="org.apache.log4j.RollingFileAppender"> <!-- Keep one backup file --> <layout class="org.apache.log4j.PatternLayout"> </layout> </appender> <root> <priority value ="debug" /> <appender-ref ref="console" /> <appender-ref ref="rolling-file" /> </root> </log4j:configuration> -- View this message in context: http://old.nabble.com/i-dont-want-to-show-one-exception-is-log4j-log-tp31001676p31001676.html Sent from the Log4j - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
