# Appliance Notes & Updates

# Log Rotation

Appliances before 0.6.4 didn't rotate logs. Just run this command to add a job to rotate them and delete logs older than 7 days.

sudo cat <<EOF > /etc/logrotate.d/docker
/var/lib/docker/containers/*/*.log {
 rotate 7
 daily
 compress
 size=50M
 missingok
 delaycompress
 copytruncate
}
EOF