Where is the Bitbucket log file?

Bitbucket Server logs can be found in <Bitbucket home directory>/log.

When using the standard Bitbucket Server distribution, logs for the Tomcat webserver that hosts Bitbucket Server can be found in <Bitbucket Server installation directory>/log.