code: protected boolean isloggingactivated(Logger logchannel) {
  
          boolean check = false;
          for (Appender appender : logchannel.getAppenders().values()) {
              check = appender.getName().equals(logchannel.getName());
          }
          return check;
      }
docs: Simple check if the logger has the global log file <p> or a single one.
  
  @param logchannel the channel that has do be checked
  @return true if the the log channel has a single log file