code: public synchronized void setOutputStream(OutputStream out)
      {
          _reopen=isStarted() && out!=out;
          _filename=null;
          if (_buffer!=null)
              _buffer.resetWriter();
          _out=out;
      }
docs: /* ------------------------------------------------------------