How to make the jira-xxx-stdout.xxx.log file roll over

The stdout and stderr log files can become huge (some instances in the GBytes).

Platform: Winsdows Server 2008 R2

Jira: any version 4.x upwards, running as a service

You can change the location of the log files (https://confluence.atlassian.com/display/JIRA/How+to+change+the+location+of+stdout+and+stderr+logs)

How an I make them roll over after x size and x files?

there are options to change the atlassian-jira.log file to a rolling file appender (https://confluence.atlassian.com/display/JIRA/Logging+and+Profiling)

But not indication how to affect the jira stdout log file.

1 answer

1 accepted

According to https://confluence.atlassian.com/display/JIRA/Running+JIRA+as+a+Service the logs should rotate daily. If thats not the case, I dont know. Support call ?

Probably have to be a support call because they definately do not rotate. We have a file that is around 2GB in size

Actually having looked into this further. The link you provide simply states that the Windows service manages teh riotation on a daily basis. I cannot find any evidence of this.

The following Jira ticket (https://jira.atlassian.com/browse/JRA-8841) raised in 2005 and updated this year indicates also that the stydout logs do not rotate and teh answer in that case was to stop Jira logging to teh console.

Disabling the console log would seem sensible, if you can see the same content in the File log (which may inherit better rolling?).

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,317 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot