Atlassian

Enabling logging

To help with troubleshooting or monitoring, you can turn on activity logging for the authenticator.

Steps

  1. Open the log4j properties file by doing one of the following:

    Choose from:

    • For Jira: <jira-installation>/Jira/atlassian-jira/WEB-INF/classes/log4j.properties

    • For Confluence: <confluence-installation>/Confluence/confluence/WEB-INF/classes/log4j.properties

  2. Add the following lines:

    log4j.appender.PingFederateLog=org.apache.log4j.RollingFileAppender
    log4j.appender.PingFederateLog.File=pingfederate.log
    log4j.appender.PingFederateLog.MaxFileSize=20480KB
    log4j.appender.PingFederateLog.MaxBackupIndex=5
    log4j.appender.PingFederateLog.layout=com.atlassian.logging.log4j.NewLineIndentingFilteringPatternLayout
    log4j.appender.PingFederateLog.layout.ConversionPattern=%m%n
    log4j.logger.com.pingidentity.adapters.atlassian = INFO, console, PingFederateLog
    log4j.additivity.com.pingidentity.adapters.atlassian=false
  3. Optional: Replace INFO with DEBUG to turn on debug logging.

  4. Save the file.