Guess desired log level

Use Levenshtein algorithm to guess log level if exact match isn't found.