Refactored logrotate to enable new rotated logs by config