fixed issue of cutoff with user defined log level