Table of Contents |
---|
Temporary Logging
Notification log
Every notification sent from the Notification Assistant for JIRA plugin.
...
Go to JIRA Administration>System>Logging and profiling
Under Default Loggers, click "configure logging level for another package"
For Package name enter com.riadalabs.jira.plugins.notificationassistant
...
REST-API log
Every REST call sent from the Notification Assistant for JIRA plugin.
...
For Logging Level select DEBUG
Press Add to save
Email log output will now be added to JIRA's own atlassian-jira.log file
- To find the impacted lines, you can grep for c.r.j.p.n
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.
No Format |
---|
# --------------------- # # NAFJ LOGGING STARTS # # Email logger # log4j.appender.NAFJEmailLog=com.atlassian.jira.logging.JiraHomeAppender log4j.appender.NAFJEmailLog.File=nafj-email.log log4j.appender.NAFJEmailLog.MaxFileSize=20480KB log4j.appender.NAFJEmailLog.MaxBackupIndex=5 log4j.appender.NAFJEmailLog.layout=org.apache.log4j.PatternLayout log4j.appender.NAFJEmailLog.layout.ConversionPattern=%d %t %p [%c{4}] %m%n log4j.appender.NAFJEmailLog.Threshold=INFO # Notification Manager logger # log4j.appender.NAFJManagerLog=com.atlassian.jira.logging.JiraHomeAppender log4j.appender.NAFJManagerLog.File=nafj-manager.log log4j.appender.NAFJManagerLog.MaxFileSize=20480KB log4j.appender.NAFJManagerLog.MaxBackupIndex=5 log4j.appender.NAFJManagerLog.layout=org.apache.log4j.PatternLayout log4j.appender.NAFJManagerLog.layout.ConversionPattern=%d %t %p [%c{4}] %m%n log4j.appender.NAFJManagerLog.Threshold=INFO # # add entries for all NAFJ packages # log4j.logger.com.riadalabs.jira.plugins.notificationassistant.NotificationEmailHandlerImpl=INFO, NAFJEmailLog log4j.additivity.com.riadalabs.jira.plugins.notificationassistant.NotificationEmailHandlerImpl=false log4j.logger.com.riadalabs.jira.plugins.notificationassistant.NotificationManagerImpl=INFO, NAFJManagerLog log4j.additivity.com.riadalabs.jira.plugins.notificationassistant.NotificationManagerImpl=false # # NAFJ LOGGING ENDS # # -------------------- |
Version Differences
In version 6.1.1 and before the logs will be at:
- <JIRA_HOME>/data/attachments/nafj/log/email.log
- <JIRA_HOME>/data/attachments/nafj/log/rest.log
For version 6.1.2 and later, the The logs will be at:
- <JIRA_HOME>/log/nafj-email.log
- <JIRA_HOME>/log/nafj-manager.log