Structure plug-in: derby.log and db directory disk usage

Hi there,

We're finding the the structure derby.log file grows quickly, consuming large amounts of disk (usually around 10GB in a few days).  Can the logging to this file be made less verbose?

The /db/ directory in the structure directory also grows quickly.  Can any maintenance be performed within Structure to control the size of this directory?

Thanks!

1 answer

Hello,

Normally derby.log should stay very small. Extensive logging is enabled explicitly or when JIRA is in “development” mode. You can check if Structure turns on verbose logging by searching atlassian-jira.log for the line "Structure turns Derby verbose logging on” - it would happen shortly after JIRA start or Structure enablement. (You can disable / enable Structure to see if that produces this message.) 

If it’s on, you can force it to be off with “-Dstructure.derby.verbose.log=false” system variable (added in setenv.sh / setenv.bat).

Another possibility is that Derby database became corrupt on your server, and derby.log contains errors. In that case, the users should also experience problems with Structure. If that seems to be the case, we'll need the ZIP of the derby.log file so we can take a look.

Kind regards,

Eugene

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

693 views 6 13
Read article

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