code: public Level tango_to_log4j_level(String level)
    {
     level = level.toUpperCase();
     if (level.equals(LOGGING_LEVELS[LOGGING_OFF])) {
       return Level.OFF;
     }
     if (level.equals(LOGGING_LEVELS[LOGGING_FATAL])) {
       return Level.FATAL;
     }
     if (level.equals(LOGGING_LEVELS[LOGGING_ERROR])) {
       return Level.ERROR;
     }
     if (level.equals(LOGGING_LEVELS[LOGGING_INFO])) {
       return Level.INFO;
     }
     if (level.equals(LOGGING_LEVELS[LOGGING_DEBUG])) {
       return Level.DEBUG;
     }
     return Level.WARN;
    }
docs: Given to TANGO logging level, converts it to lo4j level