Re: logging

From: Cameron Simpson <cs#zip.com.au>
Date: Tue, 30 Sep 2008 10:32:32 +1000


On 29Sep2008 12:00, Marcus Herou <marcus.herou#tailsweep.com> wrote:
| Sorry to be a pain in the ass.. I understand that HAProxy cannot write to a
| file because of security constraints. So how do I setup a remote logging
| server ?

haproxy logs to the local syslog. Allocate one of the "localN" syslog facilities to represent haproxy. Then tell syslog (syslogd.conf for plain syslog, something else for syslog-ng) that such events should go to where you want (/path/to/file, @remote-hostname, etc).

-- 
Cameron Simpson <cs#zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/
Received on 2008/09/30 02:32

This archive was generated by hypermail 2.2.0 : 2008/09/30 02:47 CEST