Dnia 2010-02-04, czw o godzinie 14:52 +0100, Reynier Serge pisze: > Bonjour, > > j'ai mis un haproxy en place pour des connexions MySQL et j'aimerai > loguer seulement les erreurs et warning de haproxy visible sur la page > de stats. Le mode de log est donc tcplog, voici un extrait de mon > fichier de conf : > > listen MySQL x.x.x.x:3306 > mode tcp > option tcplog > option dontlog-normal > no option log-separate-errors > log 127.0.0.1 local0 debug > # option tcpka > maxconn 10000 > timeout connect 3s > timeout client 3s > timeout server 3s > server SRV1 x.x.x.x:3306 check inter 10s rise 3 fall 3 weight 1 > server SRV2 x.x.x.x:3306 check inter 10s rise 3 fall 3 weight 1 > > Quand je met le niveau de log a debug on a beaucoup trop de ligne avec > des flags "cD", si je met le niveau a notice plus rien ... > En fait je voudrais simplement capturer les quelques warning et error > que j'ai sur la page de stats.
It might help if u repost your question in english (its language we use on this mailing list), tho probably you problem is in too low timeouts -- Mariusz Gronczewski (XANi) <xani...@gmail.com> GnuPG: 0xEA8ACE64 http://devrandom.pl
signature.asc
Description: To jest część wiadomości podpisana cyfrowo