code: private void isparentlogger(Logger logchannel) {
  
          // get all log channels
          List<Logger> referenz = getLoggers();
          Iterator<Logger> it_logger = referenz.iterator();
          while (it_logger.hasNext()) {
              Logger child_test = it_logger.next();
              // if the logchannel has the given logchannel as parent his loglevel is set to the parent one.
              if (logchannel.getName().equals(child_test.getParent().getName())) {
                  isparentlogger(child_test);
                  child_test.setLevel(null);
              }
          }
      }
docs: Simple function to set all child loggers to the same value of parent
  logger if the parent logger leves is changed.<p>
  
  @param logchannel the channel that might be the parent logger