code: @SuppressFBWarnings(value = "DM_DEFAULT_ENCODING", justification = "Open TODO item for wider rework")
      @Override
      protected void eol(byte[] bytes, int len) throws IOException {
          String line = new String(bytes, 0, len);
          if(passwordsAsPattern != null) {
              line = passwordsAsPattern.matcher(line).replaceAll(MASKED_PASSWORD);
          }
          logger.write(line.getBytes());
      }
docs: TODO: The logic relies on the default encoding, which may cause issues when master and agent have different encodings