Till what time jira maintains the log information?

How much previous details does JIRA maintain inside the log files?

2 answers

0 vote
Shayne Covey Atlassian Team May 28, 2015

The logging is configured to roll over based on file size and can be modified in the JIRA-INSTALL/atlassian-jira/WEB-INF/classes/log4j.properties file:

log4j.appender.filelog=com.atlassian.jira.logging.JiraHomeAppender
log4j.appender.filelog.File=atlassian-jira.log
log4j.appender.filelog.MaxFileSize=20480KB
log4j.appender.filelog.MaxBackupIndex=5

You can find more information on that in the Logging and Profiling documentation.

Our knowledge base article for How to Rotate Catalina Log File may be useful, also. smile

0 vote
Paulo Hennig Atlassian Team May 28, 2015

Hello Alok, in additional to Shayne response,

The logs created by JIRA are rotated when they reach 20MB. 

This other answer has good guides and an example to delete log files older than 30days using cron.

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
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

620 views 6 12
Read article

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