code: protected void readConfiguration(XPath xpath, Node node) throws XPathExpressionException, AbstractTracer.Exception {
      this.autoflush = "true".equals((String) xpath.evaluate("./dns:AutoFlush/text()", node, XPathConstants.STRING));
      this.bufferSize = Integer.parseInt((String) xpath.evaluate("./dns:BufSize/text()", node, XPathConstants.STRING));
  
      System.out.println("this.autoflush = " + this.autoflush);
      System.out.println("this.bufferSize = " + this.bufferSize);
  
      NodeList threadNodes = (NodeList) xpath.evaluate("./dns:Context/dns:Thread", node, XPathConstants.NODESET);
      for (int i = 0; i < threadNodes.getLength(); i++) {
        String threadName = threadNodes.item(i).getAttributes().getNamedItem("name").getNodeValue();
  
        boolean online = "true".equals((String) xpath.evaluate("./dns:Online/text()", threadNodes.item(i), XPathConstants.STRING));
        int debugLevel = Integer.parseInt((String) xpath.evaluate("./dns:DebugLevel/text()", threadNodes.item(i), XPathConstants.STRING));
  
        System.out.println("(*-*)");
        System.out.println("threadName = " + threadName);
        System.out.println("online = " + online);
        System.out.println("debugLevel = " + debugLevel);
  
        this.debugConfigMap.put(threadName, new DebugConfig(online, debugLevel));
      }
    }
docs: Reads the configuration for this particular tracer instance by evaluating the given node with the given xpath engine.
  
  @param xpath the xpath engine
  @param node the config node
  @throws javax.xml.xpath.XPathExpressionException indicates xpath problems
  @throws de.christofreichardt.diagnosis.AbstractTracer.Exception indicates problems when configuring certain tracer instances