Can i copy JIRA server-log files to another location?
There are two different kinds of logs in JIRA.
1. IN opt folder
2. in var folder
Can i copy it to NAS server before deleting logs?
Can i delete these log files?Which files ahould be deleted?
You can copy or delete these files as you wish. But in regards to deleting logs, this tends to make troubleshooting problems in Jira more difficult. The logs in the /var/atlassian/jira/log/ folder will typically automatically roll themselves in order to limit size.
However the logs generated directly by tomcat in the /opt/ folder cannot be rotated out-of-the-box for Jira. So I have seen a many catalina.out files that are several GB in size that can cause storage problems. I would recommend trying to follow the KB: How to rotate the Tomcat catalina log file. This way you can still keep some data while rotating the log so that the file does not grow to an enormous size.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.