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

This widget could not be displayed.

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 Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

54 views 1 0
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