Permanent Logging
Add the following to your <JIRA INSTALL DIRECTORY>/atlassian-jira/WEB-INF/classes/log4j.properties file. Changes to this file require a restart of Jira for the changes to take effect.
Code Block | ||||
---|---|---|---|---|
| ||||
log4j.appender.ihubexecutionfilelog=com.atlassian.jira.logging.JiraHomeAppender
log4j.appender.ihubexecutionfilelog.File=ihub-execution.log
log4j.appender.ihubexecutionfilelog.MaxFileSize=20480KB
log4j.appender.ihubexecutionfilelog.MaxBackupIndex=5
log4j.appender.ihubexecutionfilelog.layout=com.atlassian.logging.log4j.NewLineIndentingFilteringPatternLayout
log4j.appender.ihubexecutionfilelog.layout.ConversionPattern=%d [%p] %c{1}:%M() - %m%n
log4j.logger.se.rixter.jira.restful.integrator.executor.log.ExecutionLogService=INFO, ihubexecutionfilelog
log4j.additivity.se.rixter.jira.restful.integrator.executor.log.ExecutionLogService = false |
Code Block | ||||
---|---|---|---|---|
| ||||
log4j.appender.ihubincomingfilelog=com.atlassian.jira.logging.JiraHomeAppender
log4j.appender.ihubincomingfilelog.File=ihub-incoming.log
log4j.appender.ihubincomingfilelog.MaxFileSize=20480KB
log4j.appender.ihubincomingfilelog.MaxBackupIndex=5
log4j.appender.ihubincomingfilelog.layout=com.atlassian.logging.log4j.NewLineIndentingFilteringPatternLayout
log4j.appender.ihubincomingfilelog.layout.ConversionPattern=%d [%p] %c{1}:%M() - %m%n
log4j.logger.se.rixter.jira.restful.integrator.incoming.RuleService=INFO, ihubincomingfilelog
log4j.additivity.se.rixter.jira.restful.integrator.incoming.RuleService = false |
The logs will be at:
<JIRA_HOME>/log/nafj-email.log
<JIRA_HOME>/log/nafj-manager.log