code: public synchronized void rollLog() throws IOException {
          if (logStream != null) {
              this.logStream.flush();
              this.logStream = null;
              oa = null;
          }
      }
docs: rollover the current log file to a new one.
  @throws IOException