...
Temporary Logging
...
Goto System
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
Click on Configure to add logging for our classes
Put se.rixter for the Package name and DEBUG for the Logging level
Reproduce the issue
Send us with a support zip as outlined at https://confluence.atlassian.com/support/create-a-support-zip-790796819.html;
Permanent Logging
Steps
Edit <JIRA INSTALL DIRECTORY>/atlassian-jira/WEB-INF/classes/log4j.properties file.
...
In the end of the file paste in these two log sections
Incoming file log
Code Block language scala
...
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
Code Block language scala
...
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
...
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