[
http://jira.jboss.com/jira/browse/JBAS-1853?page=all ]
Dimitris Andreadis resolved JBAS-1853.
--------------------------------------
Assignee: Dimitris Andreadis
Resolution: Done
As a first step, renamed conf/log4j.xml to conf/jboss-log4j.xml.
Leaving the RepositorySelector changes to JBAS-1313.
If you see any issue with the rename, please re-open the case.
Rename conf/log4j.xml to conf/jboss-log4j.xml to allow
log4j.properties override.
---------------------------------------------------------------------------------
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
Assigned To: Dimitris Andreadis
Fix For: JBossAS-4.2.0.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