I want to understand the impact of increasing the log rotation file size.

shashikanth_budidha February 27, 2025

Hi,

atlassina-jira.log automatically rotates by size after 20mb, due to this we are not able to see the log info in large window, currently we are able see only one day logs. Our requirement is that we want to see the log info for a week.

We want to increase the file size, so before making the change, we want to understand the impact of increase file size. 

we are aware of the process, but we want to understand the impact of increasing the file size.
Change the rotation file size for Jira server logs | Jira | Atlassian Documentation

 

Thanks,

Shashi

1 answer

1 accepted

2 votes
Answer accepted
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 27, 2025

Hi @shashikanth_budidha and welcome,

at application level the only impact is at Log Analyzer level (under administration -> troubleshooting and support -> Log Analyzer) that is based on atlassian-jira.log file scanning.

Please check that you have enough space at disk level on server side.

My suggestion is to increase number of files but not size.

   <DefaultRolloverStrategy fileIndex="min" max="XXX_HERE_NEW NUMBER"/>

 Hope this helps,

Fabio

shashikanth_budidha February 27, 2025

Hi Fabio,

Thank you for your response and we really appreciate your suggestion.


Where exactly we need to add this flag, could you please share the steps.

 <DefaultRolloverStrategy fileIndex="min" max="XXX_HERE_NEW NUMBER"/>

 

Thank you,

Shashi
 

Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 27, 2025

Hey @shashikanth_budidha ,

you need to edit the following file for each datacenter node <YOUR_ATLASSIAN_JIRA_INST_FOLDER>/atlassian-jira/WEB-INF/classes/log4j2.xml

Immagine.png

You need to restart node after this change.

Please mark my answer as accepted if it solved your question.

Fabio

Like shashikanth_budidha likes this

Suggest an answer

Log in or Sign up to answer