syslog patch

Brad Fitzpatrick brad@danga.com
Thu, 12 Feb 2004 11:13:28 -0800 (PST)


Joachim,

Can you submit a cleaner patch that just touches the distributed files,
and not the auto-generated files?

I'm having a hard time reading this patch, trying to ignore all the junk.

Thanks!

- Brad


On Thu, 12 Feb 2004, Joachim Bauernberger wrote:

> Hi,
>
> I have done a small patch which adds syslog functionality as a configure
> option, since I needed this for a project.
> (--with-syslog=3Dyes)
>
> As syslog-facility I use LOG_DAEMON. (edit log.c if you want to change th=
is)
>
> Instead of perror() log() is called which makes the decision whether to l=
og
> via syslog or write to stderr.
> 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
>
> --
> Phone: +49 (0) 89 1553874
> Fax: +49 (0) 89 1553874
> Mobile: +49 (0) 179 674 3611
> mailto: joachim@bauernberger.org =A0 =A0 =A0 =A0
> Web: http://www.bauernberger.org
>
>