public static void ignore ( Log log , Throwable th ) { if ( log . isTraceEnabled ( ) ) log . trace ( IGNORED , th ) ; }
Ignore an exception unless trace is enabled . This works around the problem that log4j does not support the trace level .