syslog patch

Joachim Bauernberger joachim@bauernberger.org
Thu, 12 Feb 2004 19:40:27 +0100


Hi,

I have done a small patch which adds syslog functionality as a configure=20
option, since I needed this for a project.=20
(--with-syslog=3Dyes)

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=
=20
via syslog or write to stderr.=20
log() understands printf() like arguments in case you want to use it ...

The patch is here:
http://www.bauernberger.org/patches/memcached-1.1.10_syslog.patch.gz

Thanks for this great piece of software,
~/joachim

=2D-=20
Phone: +49 (0) 89 1553874
=46ax: +49 (0) 89 1553874
Mobile: +49 (0) 179 674 3611
mailto: joachim@bauernberger.org =A0 =A0 =A0 =A0=20
Web: http://www.bauernberger.org