Does haproxy support cronolog?

2012-01-31 Thread wsq003
Hi Here we want haproxy to write logs to separate log files (i.e. /home/admin/haproxy/var/logs/haproxy_20120131.log), and we want to rotate the log files. Then cronolog seems to be a good candidate. We don't want to change /etc/syslog.conf or /etc/syslog-ng.conf, because we don't want to ma

Re: Does haproxy support cronolog?

2012-01-31 Thread Graeme Donaldson
On 31 January 2012 11:21, wsq003 wrote: > Hi > > Here we want haproxy to write logs to separate log files (i.e. > /home/admin/haproxy/var/logs/haproxy_20120131.log), and we want to rotate > the log files. Then cronolog seems to be a good candidate. HAproxy can only log to a syslog daemon currentl

RFE: reading cookies and "redirect strip"

2012-01-31 Thread Wout Mertens
Hi, I was faced with the problem of letting people choose between using two different systems for a tool, an old one and a new one. For selecting the backend, I ended up using a cookie that I tested with hdr_sub to choose the correct backend. It took me a day to think of using the hdr_sub so I

Re: Does haproxy support cronolog?

2012-01-31 Thread Bryan Talbot
Nothing says you can't run a special instance of syslog-ng that only logs for haproxy. The system configuration files don't need to be special in that case. -Bryan On Tue, Jan 31, 2012 at 2:34 AM, Graeme Donaldson wrote: > On 31 January 2012 11:21, wsq003 wrote: > > Hi > > > > Here we want ha

Re: multi location and cookie persistence on SERVERID

2012-01-31 Thread eni-urge...@scan-eco.com
Hello I manage to configure this setup. Thanks to baptiste and willy for their patience. And thanks to the dev team for this fabulous product Le 27/01/2012 08:11, Baptiste a écrit : Ok, I understand now why you're doing like that :) Let me update Willy's example: frontend site1 bi