/
iHub Logging on tomcat server

iHub Logging on tomcat server

Temporary Logging

 

  1. Goto System

  2. Select System support > Logging and profiling to open the Logging page, which lists all defined log4j categories (as package names) and their current logging levels

  3. Click on Configure to add logging for our classes

  4. Put se.rixter for the Package name and DEBUG for the Logging level

  5. Reproduce the issue

  6. Send us with a support zip as outlined at https://confluence.atlassian.com/support/create-a-support-zip-790796819.html;

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

 

Related content

Settings
More like this
Log Tab
More like this
Log Search
More like this
View Logs
More like this
Receive SOAP message
Receive SOAP message
More like this
User Guide
More like this