Fixed error in placement of log level