code: void flushLogQueue() {
          Set<String> problems = new LinkedHashSet<String>();
          synchronized (messageQueue) {
              Iterator<LogEntry> i = messageQueue.iterator();
              while (i.hasNext()) {
                  problems.add("\t\t" + i.next().getMessage() + "\n");
                  i.remove();
              }
          }
          if (!problems.isEmpty()) {
              logger.transformationWarnings(target.getHostName(), problems);
          }
      }
docs: flushes log queue, this actually writes combined log message into system log