Managing JIRA's log

Sameera Shaakunthala [inactive]
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.
May 7, 2012

Hi,

Can someone please suggest methods to,

* After reaching a particular size of (eg. 100 MB) catalina.out, move it to a different disk and start over logging from a fresh file.

* Automatically move old (filtered by a particular date) access_log.* files to a different disk periodically.

Has JIRA/ Tomcat provided in-built tools/ functionality for these?

1 answer

1 accepted

1 vote
Answer accepted
JamieA
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.
May 7, 2012

Jira/tomcat does not have this built-in... take a look at logrotate, assuming you're running on unix.

log4j does handle rotation of files that it manages, eg atlassian-jira.log, but not catalina.out.

Sameera Shaakunthala [inactive]
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.
May 7, 2012

Thanks!

Is it possible to set up JIRA to append the log to atlassian-jira.log instead of catalina.out ?

Suggest an answer

Log in or Sign up to answer