common: parse log levels 'none' and 'off' to mask 0.