Versions Compared

Key

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

...

Read more about logging in Bitbucket how to enable runtime here:
https://confluence.atlassian.com/bitbucketserver/bitbucketenable-server-debug-logging-776640147.htmhtml

Confluence

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

Code Block
log4j.appenderlogger.loginauditlog=orgcom.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.kantegasso.AuditLog=INFO, securitylog
log4j.additivity.com.kantegasso.AuditLog = false
log4j.logger.com.kantegasso.AuditLog = INFO, loginauditlog

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

Jira

Version 9.5 and newer

...