Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Preferred method (requires Jira restart)
Add the following to your JIRA_INSTALL/atlassian-jira/WEB-INF/classes/log4j.properties file and reboot JIRA, after which time, EMQ specific logging will be written to JIRA_HOME/log/emq.log
file:
Code Block |
---|
# --------------------- # # EMQ LOGGING STARTS # log4j.appender.EMQFileLog=com.atlassian.jira.logging.JiraHomeAppender log4j.appender.EMQFileLog.File=emq.log log4j.appender.EMQFileLog.MaxFileSize=20480KB log4j.appender.EMQFileLog.MaxBackupIndex=5 log4j.appender.EMQFileLog.layout=org.apache.log4j.PatternLayout log4j.appender.EMQFileLog.layout.ConversionPattern=%d %t %p [%c{4}] %m%n log4j.appender.EMQFileLog.Threshold=DEBUG log4j.logger.com.thepluginpeople.jira.emq=DEBUG, EMQFileLog log4j.additivity.com.thepluginpeople.jira.emq=false # # EMQ LOGGING ENDS # # -------------------- |
Note | ||
---|---|---|
| ||
Remember that JIRA must be restarted for the changes to the |
Alternative method (no restart)
The following method will append EMQ logging into JIRA's own atlassian-jira.log file. This may make it harder to see what is happening as Jira will output its own messages here, polluting the EMQ output.
- Go to Jira Administration>System and open the Logging and profiling section
- Under Default Loggers, click the Configure logging level for another package link
- Enter com.thepluginpeople.jira.emq as the package name, and set the Logging Level to DEBUG
- Click the Add button to save the configuration
- You should now see EMQ log output appear in the attlasian-jira.log file at certain times, for example when processing an issue event
Page Tree | ||||
---|---|---|---|---|
|