fixing logrotate for log files