The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Configure Stash Logs

Kota Sreenivasa Shravana Kumar
Contributor
February 5, 2014

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
cofarrell
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
February 5, 2014

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?

Charles

Kota Sreenivasa Shravana Kumar
Contributor
May 28, 2014

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 ?

localhost.YYYY-MM-DD.log

catalina.YYYY-MM-DD.log

host-manager.YYYY-MM-DD.log

manager.YYYY-MM-DD.log

Mike Joe
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 29, 2015

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

0 votes
Kota Sreenivasa Shravana Kumar
Contributor
February 5, 2014

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

0 votes
John Chin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 5, 2014

Hi,

Have you try the method to generate a Support Zip file as per https://confluence.atlassian.com/display/STASH/Raising+a+request+with+Atlassian+Supportarticle ? What about try to compress the log files to .zip or .7z ?

Regards,

John Chin

TAGS
AUG Leaders

Atlassian Community Events