Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Company standards to maintain the logs in JIRA log folder

Aravind Viswanathan June 12, 2020

Hi All,

We have been keeping our logs in JIRA production starting from the date Nov 15, 2019  and the size of the Logs folder "opt/atlassian/jira/logs" is 25G. 

What we see is the access logs that takes most of the storage

du -ch ./*access* |grep total
22G total

So we decided to delete the old logs. However, we would like to know if there are any generic company standards followed by other companies in maintaining the months of logs in JIRA log directory?

Thanks

Aravind Viswanathan.

1 answer

1 accepted

1 vote
Answer accepted
Nic Brough -Adaptavist-
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.
June 12, 2020

We can't tell you what your company standards are - we don't work there.

I would strongly recommend that you a) ask your company what their policies are and then b) implement a log-rotate service that will kill off older ones

Aravind Viswanathan June 12, 2020

Hi Nic,

Thanks for looking into this.

May be my question was not right, sorry for the inconvenience.

I was not specific to one or my company standards, I just wanted to know what is generic standard everyone follows.  so we can analyse and setup log rotation accordingly.

Thanks

Aravind Viswanathan. 

Nic Brough -Adaptavist-
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.
June 12, 2020

The most common pattern I see is to rotate at 2Gb and keep the last 5 alongside the active one.  Pretty standard for Unix-like logs generally, not just Atlassian.

Aravind Viswanathan June 16, 2020

Thanks for the information Nic

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.13.8
TAGS
AUG Leaders

Atlassian Community Events