to prevent throwing IllegalArgumentException for MLevel.OFF

check for level "OFF" to prevent throwing IllegalArgumentException "Unknown level" for valid MLevels.