Prune/Delete atlassian-jira.log

I added debugging today to examine email related issues, and my atlassian-jira.log grew to 33 GB (usually much much smaller) in size.  I have turned off the debugging, and the log has frozen in size, but I now I need to rather prune it dramatically, or delete it (allowing it to recreate).  How do I go about doing either of these things?  I tried to moved it to our storage drive, but as expected, it cannot move while in use.  I did not see any pruning options in the UI

Jira version 7.3.6

1 answer

0 votes

If you were on a Unix/Linux system, then you should just be able to move/delete this log file.  If you are using Windows, then it is possible that the JIRA/JAVA process running has a lock on the log file preventing you from moving it while JIRA is running.

To get around this you could try either of these steps:

  1. Stop JIRA - from there you can then move/delete this file.  When you restart JIRA it will automatically create a new log
  2. You could try to go in to JIRA, Cog Icon -> System -> Logging and Profiling, and then select the "Log Rollover" checkbox and then click the "Mark" button below.  This will cause the log file to separate into a new file.

If you stop JIRA and still can't move this, then something else on the system has the lock on the file (most commonly a program like antivirus that would be trying to scan the file contents).

ironically the mark option split all the files save the one I needed.  I will stop the service off hourse I guess.  thank you

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Jan 15, 2019 in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

253 views 4 1
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you