Audit logging in Bitbucket Server
Bitbucket Server comes with an internal audit system enabled by default at installation. The audit system is intended to give administrators an insight into the way Bitbucket Server is being used. The audit system could be used to identify authorized and unauthorized changes, or suspicious activity over a period of time.
Viewing recent events
Bitbucket Server administrators and system administrators can see a list of recent events for each project and repository in the 'Audit log' view. This is found in the 'Settings' for a project or repository, and shows only the most important audit events.
The audit log displays a subset of the events recorded in the log file and is kept to a configurable maximum size (the default is 500 events). See Audit events in Bitbucket Server for more details.
Accessing the audit log file
<Bitbucket Server home directory
Note that you will need to backup the log files before they are removed, if your organization needs to keep copies of those.
Configuring audit logging
There are various system properties that can be used to configure audit logging in Bitbucket Server.