logrotate_for helper