Page MenuHomePhabricator

Free disk-space in the Linux server donate01
Closed, ResolvedPublic

Event Timeline

valerio.bozzolan created this task.

First of all I was authorized by Ilario Valdelli to enter in the server.

The log files that were too big:

/var/www/donate.wikimedia.ch/requests.log
/var/www/donate.wikimedia.ch/error.log

I've moved these files in the new location:

/var/log/httpd/donate-error.log
/var/log/httpd/donate-access.log

In this way we don't need to setup any additional logrotate rule, since the default is this one:

/etc/logrotate.d/httpd
/var/log/httpd/*log {
    missingok
    notifempty
    sharedscripts
    delaycompress
    postrotate
        /bin/systemctl reload httpd.service > /dev/null 2>/dev/null || true
    endscript
}
ValerioBoz-WMCH renamed this task from Free disk-space in the Linux server wmch-donate to Free disk-space in the Linux server donate01.Mar 17 2023, 3:38 PM