code: private void closeLogStream()
    {
      try {
        WriteStream os = _os;
        _os = null;
  
        if (os != null)
          os.close();
      } catch (Throwable e) {
        // can't log in log routines
      }
  
      try {
        WriteStream zipOut = _zipOut;
        _zipOut = null;
  
        if (zipOut != null)
          zipOut.close();
      } catch (Throwable e) {
        // can't log in log routines
      }
    }
docs: Tries to close the log.