Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Logs

Fahad Siddiqui
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 Leaders.
September 4, 2019

For how many days Jira instance keep logs on server.

2 answers

0 votes
Rafael Pinto Sperafico
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 Leaders.
September 4, 2019

Hi @Fahad Siddiqui ,

Jira makes use of log4j, so you should find information about your logs in 

<JIRA_INSTALL>/atlassian-jira/WEB-INF/classes/log4j.properties

Kind regards,
Rafael

Fahad Siddiqui
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 Leaders.
September 4, 2019

can you share the steps

Rafael Pinto Sperafico
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 Leaders.
September 4, 2019

Hi @Fahad Siddiqui ,

Here is an example:

log4j.appender.filelog.File=atlassian-jira.log
log4j.appender.filelog.MaxFileSize=20480KB
log4j.appender.filelog.MaxBackupIndex=10

MaxFileSize indicates the maximum size of file while MaxBackupIndex indicates the amount of files to be kept in the log folder.

If you are referring to catalina.out, then you should review information provided by @robert Mugabuhamye .

Kind regards,
Rafael

Like Fahad Siddiqui likes this

Hello Rafael, In 

MaxFileSize=20480KB
MaxBackupIndex=10 , How could be count(days) the logs

Here you mention Index count is 10, Can we calculate 180 days

Kindly give the proper reason, if you know 
0 votes
robert Mugabuhamye
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 Leaders.
September 4, 2019

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events