code: public int log4j_to_tango_level(Level level)
    {
     if (level.equals(Level.OFF)) {
       return LOGGING_OFF;
     }
     if (level.equals(Level.FATAL)) {
       return LOGGING_FATAL;
     }
     if (level.equals(Level.ERROR)) {
       return LOGGING_ERROR;
     }
     if (level.equals(Level.WARN)) {
       return LOGGING_WARN;
     }
     if (level.equals(Level.INFO)) {
         return LOGGING_INFO;
     }
        return LOGGING_DEBUG;
    }
docs: Given to log4j logging level, converts it to TANGO level