Versions Compared

Key

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

...

Example output:

Code Block
The user 'johndoe' has PASSED authentication using Kerberos 
Code Block
The user 'john.doe@mycompany.com' has PASSED authentication using SAML

Bitbucket

Add the following line to your bitbucket.properties file:

Code Block

logging.logger.com.kantegasso.AuditLog=DEBUG

...

Add the following at the bottom of the file ${CONFLUENCE_INSTALL}/confluence/WEB-INF/classes/log4j.properties:

Code Block
log4j.appender.loginauditlog=org.apache.log4j.DailyRollingFileAppender
log4j.appender.loginauditlog.File=${catalina.home}/logs/atlassian-kantegalogin-audit.log log4j.appender.loginauditlog.Threshold=INFO
log4j.appender.loginauditlog.DatePattern='.'yyyy-MM-dd
log4j.appender.loginauditlog.layout=com.atlassian.confluence.util.PatternLayoutWithContext log4j.appender.loginauditlog.layout.ConversionPattern=%d %p [%t] [%c{4}] %M %m%n
log4j.additivity.com.kantegasso.AuditLog =

...

Code Block
log4j false
og4j.logger.com.kantegasso.AuditLog = INFO, loginauditlog

The log will be written to: ${CONFLUENCE_INSTALL}/logs/atlassian-kantegalogin-audit.log.

...

Add the following lines to ${JIRA_INSTALL}/atlassian-jira/WEB-INF/classes/log4j.properties:

Code Block
log4j.logger.com.kantegasso.AuditLog = INFO, securitylog

...

Code Block

log4j.additivity.com.kantegasso.AuditLog = false

The log will be written to: ${JIRA_HOME}/log/atlassian-jira-security.log

...