private java.util.logging.Level getJavaLevelFor(Level level) {
      switch (level) {
         case FATAL: return java.util.logging.Level.SEVERE;
         case ERROR: return java.util.logging.Level.SEVERE;
         case WARN: return java.util.logging.Level.WARNING;
         case INFO: return java.util.logging.Level.INFO;
         case DEBUG: return java.util.logging.Level.FINE;
         case TRACE: return java.util.logging.Level.FINEST;
      }
      return null;
   }