I'd like to propose that we consider adding a simplistic juli log filter class to log4j 1.2. Since it needs to compile with jdk 1.4, we'd probably have to create a separate jar for this, perhaps a new log4j-juli sandbox module.

We could update all *Configurator classes to detect if this bridge is available, and expose a new property on the configurators such as

public void setUseJDK14LoggingBridge(boolean true)

(or better name).

This could throw an IllegalStateException if the underlying OS is not JDK 1.4 or above, and the juli-bridge classes are not available. That way a simple bridge could be provided to our user community by them doing:

* Downloading and adding a single additional jar to log4j
* Using the latest log4j 1.2.15 (say)
* Adding a single method call to their Configurator usage

Perhaps as an added bonus, adding support to the XML/Properties configuration to allow that

<log4j:configuration debug="false" threshold="debug" useJDK14LoggingBridge="true"....>

etc.

thoughts?

Paul

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to