getting logrotate to work on both the hosts