# /etc/logrotate.d/ddns-client /var/log/network-tools/ddns-client.log { compress create 0640 root adm dateext dateformat -%Y%m dateyesterday missingok monthly notifempty rotate 12 }