This will return the current level configured of the logging messages.
Value
A string giving the lowest message level that will be reported, one of "ALL", "DEBUG", "INFO", "WARN", "ERROR", "SEVERE", or "OFF".
Details
Note that logger.setLevel()
invisibly returns current level, so
logger.getLevel()
is not required to restore the level after a
temporary change.