You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2012/07/17 11:07:23 UTC

[Bug 53557] New: Configure java.util.logging messages to custom log files using log4j.xml

https://issues.apache.org/bugzilla/show_bug.cgi?id=53557

          Priority: P2
            Bug ID: 53557
          Assignee: log4j-dev@logging.apache.org
           Summary: Configure java.util.logging messages to custom log
                    files using log4j.xml
          Severity: normal
    Classification: Unclassified
          Reporter: reshmi.anr@gmail.com
          Hardware: PC
            Status: NEW
           Version: 1.2
         Component: Configurator
           Product: Log4j

Hi,

We are using log4j-1.2.11.jar. The requirement at our end is to log all the
“java.util.logging” related logging messages to custom log files using
log4j.xml.

I see “jul-log4j-bridge” can be used to achieve this requirement from the URL
http://people.apache.org/~psmith/logging.apache.org/sandbox/jul-log4j-bridge/intro.html.
However the URL also mentioned that “This library will not work with log4j
1.2.14 or earlier”.

Could you please let me know the way to configure these “java.util.logging”
related log messages to custom log files using log4j.xml (version 1.2.11). 

Thanks in advance. 

Regards, 
Reshmi

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


[Bug 53557] Configure java.util.logging messages to custom log files using log4j.xml

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53557

Jacob Kjome <ho...@visi.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Jacob Kjome <ho...@visi.com> ---
If you are able to add a new library (jul-log4j-bridge.jar) to your project,
why are you not able to upgrade your current version of Log4j to the latest (or
at least 1.2.14) as required by the jul-log4j-bridge library?

The requirement is not arbitrary.  Your only option (other than modifying
source code yourself) is to upgrade Log4j to comply with the requirement.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org