I recently installed the latest Jira war install and I am not able to implement the log4.properties for the tomcat container. The log4j.properties configuration for Jira is working great however I am not able to use the tomcat 7 /lib/log4j.properties for the catalina.out log. I am configuring the log4j.properties file so that the catalina out file can be rotated. Does anyone know why this is happening? Is it because of the slf4j jar files that come with jira? Is there a work around?
I just had a similar problem while migrating a hosting customer's Jira 4.0 to a new server using our tomcat 7 debian-package (see https://confluence.clazzes.org/x/wwAj).
The solution is to update the log4j properties file in the jira war file with the customized logj4.properties from jira/webapps/jira/WEB-INF/classes/log4j.properties, like this:
jar uf ../../installation/atlassian-jira-4.0.war WEB-INF/classes/log4j.properties
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot