commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Schuerig <>
Subject Re: [logging] bytecode engineering (was: Re: Commons Configuration - Digester Logging turned off)
Date Tue, 26 Oct 2004 22:58:44 GMT
On Wednesday 27 October 2004 00:35, robert burrell donkin wrote:
> i'd go for static modification: run an enhancer ant task at a
> commons-digester.jar
> and create a commons-digester-no-logging.jar with logging turned off.

There already is an ant task that does something pretty similar. 
Just4log surrounds logging calls at bytecode level with something 
equivalent to this

if (logger.isDebugEnabled()) {

Just4log uses BCEL and supports Commons Logging, Log4J, JDK 1.4 Logging.



Michael Schuerig                       Face reality and stare it down        --Jethro Tull, Silver River Turning

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message