How to change the location of atlassian-bitbucket.log?


In a case of Bitbucket, how can I change the location of atlassian-bitbucket.log?

AFAIK its defined under 

atlassian-bitbucket/WEB-INF/classes/logback.xml: <file>${log.dir}/atlassian-bitbucket.log</file>

But where is this log.dir variable defined?

I can go and made changes in all this location but it's better if we have once centralize place

<define name="log.dir" class="com.atlassian.stash.internal.logback.LogDirectoryPropertyDefiner"
<!-- If the log.dir property is not defined, it means there is no Bitbucket home directory. We still want to


1 answer

Any pointer to this..My only requirement is all meta-data should be part of /var/atlassian/application-data/Bitbucket but log should be the part of standard Linux location /var/log

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

456 views 5 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you