[Openais] Re: openais and syslog

Steven Dake sdake at mvista.com
Wed Oct 6 11:23:11 PDT 2004


unnecessary signals are evil..  It was causing some havok with something
which I have now forgotten.  If your interested in getting this
functionality straightened out, check out exec/log/print.c  It will log
to the syslog facility.  I have not integrated it yet because i think
people want a choice (log to syslog, log to console, log to file) and
that work is not implemented in that file yet.

I have tested the syslog part works correctly.


On Wed, 2004-10-06 at 08:42, Mark Haverkamp wrote:
> Steve,
> For the last couple days I have been trying out having the log_printf
> functions call vsyslod instead of vfprintf.  But I remember that you
> said in a mail a couple months ago that you had been using syslog but
> quit because of some signal problems.  I checked out the source for
> vsyslog and it looks like it sets a SIGPIPE handler, does the I/O and
> then re-sets it.  What kind of problems were you seeing.  It would be
> nice to have the output logged somewhere and it is useful to see the
> times when things happened sometimes.
> Thanks,
> Mark.

More information about the Openais mailing list