syslog patch

Joachim Bauernberger
Thu, 12 Feb 2004 19:40:27 +0100


I have done a small patch which adds syslog functionality as a configure=20
option, since I needed this for a project.=20

As syslog-facility I use LOG_DAEMON. (edit log.c if you want to change this)

Instead of perror() log() is called which makes the decision whether to log=
via syslog or write to stderr.=20
log() understands printf() like arguments in case you want to use it ...

The patch is here:

Thanks for this great piece of software,

Phone: +49 (0) 89 1553874
=46ax: +49 (0) 89 1553874
Mobile: +49 (0) 179 674 3611
mailto: =A0 =A0 =A0 =A0=20