The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Change log file directory location

keshabb
March 3, 2016

I want to change log location for jira application from work directory(/opt/atlassian/jira/logs/) to /var/log permanently?

 

Which file and what change should I make?

 

Thanks

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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 Champions.
March 3, 2016
Suyash Jain
June 12, 2017

With this the Atlassian Support Tool - Log analyser do not detect this change and try to scan ${HOME}/log/atlassian-jira.log only.

So here we should make sure that JIRA is aware of new LOG directory.

Like Peter Macdonald likes this
Graham Leggett
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 16, 2019

I've raised https://jira.atlassian.com/browse/JRASERVER-69489 to fix this.

Hardcoding something like a log directory is quite nasty, this really needs to be fixed.