[jboss-jira] [JBoss JIRA] Updated: (JBAS-1853) Better isolate the server log4j usage

Dimitris Andreadis (JIRA) jira-events at jboss.com
Tue Jul 25 07:05:11 EDT 2006


     [ http://jira.jboss.com/jira/browse/JBAS-1853?page=all ]

Dimitris Andreadis updated JBAS-1853:
-------------------------------------

    Fix Version/s: JBossAS-4.0.6.CR1
                       (was: JBossAS-4.0.5.CR1)
          Affects: [Documentation (Ref Guide, User Guide, etc.), Compatibility/Configuration]  (was: [Compatibility/Configuration, Documentation (Ref Guide, User Guide, etc.)])

> Better isolate the server log4j usage
> -------------------------------------
>
>                 Key: JBAS-1853
>                 URL: http://jira.jboss.com/jira/browse/JBAS-1853
>             Project: JBoss Application Server
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: Logging
>    Affects Versions: JBossAS-4.0.2 Final
>            Reporter: Scott M Stark
>             Fix For: JBossAS-4.0.6.CR1
>
>
> The default logging configuration location mechanism of log4j will find the server conf/log4j.xml file. One simple isolation step is to rename this file conf/jboss-log4j.xml since we do not rely on the default logging configuration location mechanism of log4j. The next level of isolation is to actually create a unique LoggerRepository for use by the jboss Logger in the Log4jService. The concern is that components like jgroups, hibernate, tomcat, etc. using commons logging will fail to pickup the Log4jService LoggerRepository. We probably need to configure commons logging as well from the Log4jService with a flag that can disable this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list