Re: Quick question on logging from HaProxy.

From: Willy Tarreau <w#1wt.eu>
Date: Mon, 22 Oct 2007 14:27:48 +0200


Hi Malcolm,

On Mon, Oct 22, 2007 at 12:28:02PM +0100, lists wrote:
>
> I'm trying to use the following for logging inside a listen statement:
>
> option httplog
> option dontlognull
> log 127.0.0.1 local3
>
> and in syslog.conf I've got:
>
> # Exclude authpriv, cron, mail, and news. These are logged elsewhere.
> *.*;\
> authpriv.none;cron.none;mail.none;news.none -/var/log/syslog
>
> But I don't get any messages in syslog?
> Am I missing something?

I'm really sure that your syslogd is not listening to the UDP socket. You have to start it with the "-r" argument. This is the most common mistake for this problem, so you're not alone :-)

> Regards,
> Malcolm.

Regards,
Willy Received on 2007/10/22 14:27

This archive was generated by hypermail 2.2.0 : 2007/11/04 19:21 CET