Enabling logging
To help with troubleshooting or monitoring, you can turn on activity logging for the authenticator.
Steps
-
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
-
-
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, {pingfed} Log log4j.additivity.com.pingidentity.adapters.atlassian=false
-
Optional: Replace
INFO
withDEBUG
to turn on debug logging. -
Save the file.