Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Add the following to your <JIRA INSTALL DIRECTORY>/atlassian-jira/WEB-INF/classes/log4j.properties file:.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
#
# --------------------

...