log level parsing speedup