Memcached logrotate

The Ubuntu package does not include a logrotate script for memcached. No idea why, but something like this might avoid the error I had yesterday.

As /etc/logrotate.d/memcached

/var/log/memcached.log {
    daily
    missingok
    rotate 10
    compress
    delaycompress
    notifempty
    copytruncate
}

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>