DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42189>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42189

           Summary: Add simple bridge for java.util.logging, with basic
                    Configurator support
           Product: Log4j
           Version: 1.2
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Configurator
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


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"....>

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to