Re: no logging with syslogd under FreeBSD

From: Matthias Kellermann <mkellermann#net-com.de>
Date: Fri, 11 Apr 2008 08:35:49 +0200


Willy Tarreau wrote:

> Oh, BTW, I notice that you don't have any "log" statement in
> your listen section. You should add "log global", otherwise
> you will only get the process management logs ("starting" and
> "stopping"). Maybe you did not notice those and are just seeking
> for traffic logs, reason why you thought logging did not work ?
Thats it! Added "log global" to all listen sections and tada: getting lots of log output!

> BTW, if your upstream client(s) do keep-alive, you will only get
> the first request in the logs. In this case, you'll have to add
> "option httpclose" in the listen section.
Ah, thanks for that tip. Will try that!

-Matthias Received on 2008/04/11 08:35

This archive was generated by hypermail 2.2.0 : 2008/04/11 08:45 CEST