Ubuntu – Huge citadel log files

citadeldisk-space-utilizationlog-filesloggingUbuntu

I noticed today that my mysql server was not starting up anymore. Checking the error logs, it showed that it didn't have enough disk space. I thought that's really weird since there's nothing on my server that could possibly take up 30GB. After digging around I observed my citadel logs are taking up a massive 22GB of space in the /var/lib/citadel/data/ directory:

enter image description here

This is split in lots of smaller (still big) log files:

enter image description here

Why is this happening and how can I prevent it in the future?

EDIT: Here's a sanitized sample of one of the log files:

enter image description here

Best Answer

They're database logs. Citadel has functionality to delete them. Just turn on automatic log pruning and the logs that are committed to the database will go away.

Related Topic