Re: Question about logging in HAProxy

2014-02-06 Thread Kuldip Madnani
I configured my rsyslog with below settings and was able to generate haproxy.log in my directory /opt/app/haproxy but it gets generated with owner root and file permission rw--.Does anybody know or implemented as to how to change the ownership and file permissions for the log directory.I know

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

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