On Mon, 17 Feb 2003, Andrew Diederich wrote:

> I'd like analog to write the OUTFILE directly into my apache files.  I see
> in src/anlghead.h there is a section for OTUDIR:
> 
> #ifndef OUTDIR
> #define OUTDIR NULL
> #endif
> /* Directory for writing output files: must already exist. */
> 
> It looks like I could do:
> #define OUTDIR "/var/apache/htdocs/mylogging/"
> to write stuff there.  Unfortunately, I can't get it to work.  Is this what
> this option is for?  I can make OUTFILE do what I want (changing the name of
> the file) but OUTDIR doesn't seem to do anything.  
> 

Personally, I'm not sure it's a good idea to mix up Apache logfiles and
analog output files. I think most people would prefer to keep them in
separate directories -- but that's up to you.

OUTDIR is used to determine the directory when the OUTFILE _doesn't_ contain
a slash. Of course, you have to recompile after changing it.

-- 
Stephen Turner, Cambridge, UK    http://homepage.ntlworld.com/adelie/stephen/
 "The question of whether a computer can think is no more interesting than
  the question of whether a submarine can swim."  (Edsger W. Dijkstra)

+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  Digest version: http://lists.isite.net/listgate/analog-help-digest/
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
+------------------------------------------------------------------------

Reply via email to