solaris 10 -problem with log and syslog

From: gustavo.jimenez <gustavo.jimenez#aplicaciones.com.co>
Date: Tue, 9 Feb 2010 10:41:48 -0500


Hello

i have configured our haproxy in tcp mode and it's work like load balancer, mi problem it that i can see the logs of the transaction's i have configured the demon syslog-ng with the facility local0, if I try the command logger the daemon wrote in the file that tells the SISLOG-haproxy ng.conf but does not write anything.

i add this information to my syslog-ng.conf

destination d_haproxy { file("/var/log/haproxy.log"); };

filter f_haproxy { facility(local0); };

log { source(s_all); filter(f_haproxy); destination(d_haproxy); };

And the haproxy.conf

global

       log 127.0.0.1 local0 notice info defaults

        log global
        option tcplog

what it's happened. why this doesnt' work?

Gustavo A. Jiménez Correa
Administrador de Infraestructura
Aplicaciones S.A.
(57 1) 317 2877 ext. 105
Bogotá, Colombia
www.aplicaciones.com.co Received on 2010/02/09 16:41

This archive was generated by hypermail 2.2.0 : 2010/02/09 17:00 CET