Re: Attached: May you support me for this issue logs of HAProxy

2015-03-23 Thread Ha Quan Le
Thank you for support, we have fixed our issues. 
Ha. 
- Original Message -

From: Ramin K ramin-l...@badapple.net 
To: Ha Quan Le nlp...@shaw.ca, haproxy@formilux.org 
Sent: Friday, March 20, 2015 6:56:59 PM 
Subject: Re: Attached: May you support me for this issue logs of HAProxy 

Loads simpler to do the following: 

## /etc/haproxy/haproxy.cfg 

global 
log /dev/log local0 notice 

## /etc/rsyslog.d/49-haproxy.conf 

# Create an additional socket in haproxy's chroot in order 
# to allow logging via /dev/log to chroot'ed HAProxy processes 
$AddUnixListenSocket /var/lib/haproxy/dev/log 

# Send HAProxy messages to a dedicated logfile 
if $programname startswith 'haproxy' then /var/log/haproxy.log 
~ 

I believe most of the above is included in Vincent Bernat's very nice 
Ubuntu/Debian packages, https://launchpad.net/~vbernat 

Ramin 




Re: Attached: May you support me for this issue logs of HAProxy

2015-03-20 Thread Ramin K

Loads simpler to do the following:

## /etc/haproxy/haproxy.cfg

global
  log /dev/log local0 notice

## /etc/rsyslog.d/49-haproxy.conf

# Create an additional socket in haproxy's chroot in order
# to allow logging via /dev/log to chroot'ed HAProxy processes
$AddUnixListenSocket /var/lib/haproxy/dev/log

# Send HAProxy messages to a dedicated logfile
if $programname startswith 'haproxy' then /var/log/haproxy.log
~

I believe most of the above is included in Vincent Bernat's very nice 
Ubuntu/Debian packages, https://launchpad.net/~vbernat


Ramin




Re: Attached: May you support me for this issue logs of HAProxy

2015-03-20 Thread Ha Quan Le
Dear Sir, 


I did create /var/lib/haproxy/var/log, 
and the same issue still remaining, 


Ha. 

- Original Message -

From: Thrawn shell_layer-git...@yahoo.com.au 
To: haproxy@formilux.org 
Sent: Thursday, March 19, 2015 11:59:55 PM 
Subject: Re: Attached: May you support me for this issue logs of HAProxy 


Perhaps the trouble is that you're putting HAProxy inside a chroot? Does 
/var/lib/haproxy/var/log exist? 




Re: Attached: May you support me for this issue logs of HAProxy

2015-03-19 Thread Thrawn

Perhaps the trouble is that you're putting HAProxy inside a chroot? Does 
/var/lib/haproxy/var/log exist?