Forums

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

How to change JIRA log Directory

Suyash Jain {Appfire} June 12, 2017

By default JIRA uses ${HOME}/log directory to keep its log files. But I want to change it to /var/log.

One way of doing that is. I can change the log4j configuration and provide absolute path but then the Atlassian Support Tool - Log analyser do not detect this change and try to scan ${HOME}/log/atlassian-jira.log only.

So here I want to make sure that JIRA is aware of new LOG directory.

Thanks

Suyash

 

2 answers

0 votes
Vishnukumar Vasudevan
Community Champion
June 12, 2017

You can create a softlink to /var/log from ${HOME}/log/ as a work around. Would it help you ? 

0 votes
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, 2017

Ah, as far as I can make out, the Support Tool does not read any config for the log file. 

I would leave the log4j config alone and use a symbolic link for the logs directory.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events