Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Permanent Logging


Steps

  1. Edit  <JIRA INSTALL DIRECTORY>/atlassian-jira/WEB-INF/classes/log4j.properties file.
  2. In the end of the file paste in these two log sections

    Incoming file log
    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
    Execution Log file
    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
  3. Restart JIRA after adding these entries to make it apply.





iHub will then produce these two logs:

  • <JIRA_HOME>/log/ihub-execution.log
  • <JIRA_HOME>/log/ihub-incoming.log


  • No labels