Level.toLevel(org.apache.log4j.Level.ERROR_INT);
log.setLevel((Level)Level.ERROR);
   public void setLevel(int newLevel) {      switch (newLevel) {      	case OFF:      		Level.toLevel(Level.OFF_INT);      		break;      		         case DEBUG:            Level.toLevel(org.apache.log4j.Level.DEBUG_INT);            break;         case INFO:            Level.toLevel(org.apache.log4j.Level.INFO_INT);            break;         case WARN:            Level.toLevel(org.apache.log4j.Level.WARN_INT);            break;         case ERROR:            Level.toLevel(org.apache.log4j.Level.ERROR_INT);            break;         case FATAL:            Level.toLevel(org.apache.log4j.Level.FATAL_INT);            break;      }   }