add logrotate functionality to keep the logs under control