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:
cd /opt/jira/webapps/jira
jar uf ../../installation/atlassian-jira-4.0.war WEB-INF/classes/log4j.properties
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.