code: private void setThreadLogger(PluginLogger logger, int loggingLevel) {
          pluginLogger.set(logger);
          logLevel.set(loggingLevel);
          JSch.setLogger(this);
      }
docs: Set the thread-inherited logger with a loglevel on Jsch
  
  @param logger logger
  @param loggingLevel level