Skip to content

install_moodle.sh: rotate site logs to prevent disk exhaustion#320

Open
vibehero100 wants to merge 1 commit into
Azure:masterfrom
MoodleMod:fix/sitelogs-logrotate
Open

install_moodle.sh: rotate site logs to prevent disk exhaustion#320
vibehero100 wants to merge 1 commit into
Azure:masterfrom
MoodleMod:fix/sitelogs-logrotate

Conversation

@vibehero100

Copy link
Copy Markdown

The template writes access/error/cron logs under /var/log/sitelogs/moodle but never rotates them, so they grow unbounded and fill the OS disk
This adds a logrotate.d config during provisioning: daily, 14 days retained, compressed, copytruncate (no rsyslog signalling needed).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant