In our production system, Stash logs are pretty huge ( more than 100 MB ). It is often difficult to upload these log files to Atlassian support when needed.

Is there a way to configure Stash log files ? Thanks

3 answers

1 accepted

Hi shravanakumar,

Yes and no. We use Logback for our logging, but the default configuration file is quite customised, and we would prefer that people don't change it. The files should be rolled per day, and we start removing entries after a month. Unfortunately there isn't an easy way to override that value without configuring the appenders again, which may not be future proof.

Is there any reason the logs are so huge by the way? Just having a quick look through your tickets, I found a large support zip that had debug enabled which is definitely going to generate much bigger logs. You could disable debug, although I agree it makes diagnosing problems much easier for us. Is it possible to manually backup/move some of the older logs to a different folder, maybe via a cron job?


I agree that few logs ( atlassian-stash.log, atlassian-stash-access.log, atlassian-stash-mail.log) are rotated and cleaned-up automatically.

How about the other following logs ? Do we need to clean them up manually ?





Is it possible to configure how long the atlassian*.log files are kept?

0 vote


Have you try the method to generate a Support Zip file as per ? What about try to compress the log files to .zip or .7z ?


John Chin

Does that mean, there is no way to configure Stash logs ? Thanks

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

22,887 views 26 12
Join discussion

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