Re: How to write multiple config file in haproxy

2014-02-04 Thread Steven Le Roux
Hi, Here is how I manage this : I write a different frontend/backend file for each frontend : https://github.com/StevenLeRoux/webhub/blob/master/src/genconf.py then when I start : https://github.com/StevenLeRoux/webhub/blob/master/src/haproxyctl is doing : $CPP -P -C

Question about logging in HAProxy

2014-02-04 Thread Kuldip Madnani
Hi, I want to redirect the logs generated by HAProxy into some specific file .I read that in the global section in log option i can put a file location instead of IP address.I tried using that setting but it dint work for me, also i enabled tcp logging in my listener but no luck.Could any body

Re: Question about logging in HAProxy

2014-02-04 Thread Jonathan Matthews
On 4 Feb 2014 20:06, Kuldip Madnani k.madnan...@gmail.com wrote: Hi, I want to redirect the logs generated by HAProxy into some specific file .I read that in the global section in log option i can put a file location instead of IP address. I suspect (but can't confirm as I'm on a mobile

[Patch V1 1/1] Enhancement to stats page to provide information of last session time.

2014-02-04 Thread Bhaskar Maddala
Hello, I took a stab at implementing - add a last activity date for each server (req/resp) that will be displayed in the stats. It will be useful with soft stop. from the ROADMAP document. I digressed from the last activity date (req/resp) by logging a timestamp for the

Re: Question about logging in HAProxy

2014-02-04 Thread Ryan O'Hara
On Tue, Feb 04, 2014 at 02:05:24PM -0600, Kuldip Madnani wrote: Hi, I want to redirect the logs generated by HAProxy into some specific file .I read that in the global section in log option i can put a file location instead of IP address.I tried using that setting but it dint work for me,

Re: Question about logging in HAProxy

2014-02-04 Thread Willy Tarreau
Hi Ryan, On Tue, Feb 04, 2014 at 04:00:14PM -0600, Ryan O'Hara wrote: On Tue, Feb 04, 2014 at 02:05:24PM -0600, Kuldip Madnani wrote: Hi, I want to redirect the logs generated by HAProxy into some specific file .I read that in the global section in log option i can put a file location

Re: Question about logging in HAProxy

2014-02-04 Thread Ryan O'Hara
On Tue, Feb 04, 2014 at 11:44:47PM +0100, Willy Tarreau wrote: Hi Ryan, On Tue, Feb 04, 2014 at 04:00:14PM -0600, Ryan O'Hara wrote: On Tue, Feb 04, 2014 at 02:05:24PM -0600, Kuldip Madnani wrote: Hi, I want to redirect the logs generated by HAProxy into some specific file .I

Change Request (slash bug report)

2014-02-04 Thread Tyler Stobbe
HAProxy is quite nice, don't get me wrong in all of this, but I have a very basic change request that would bring it more in line with the modern era... The problem stems from the fact that, the way the daemon works now, a reload request dumps the initial process group completely, which is