On Tue, Aug 17, 2010 at 11:30:46AM +0200, Alexander Staubo wrote:
> On Tue, Aug 17, 2010 at 7:34 AM, Willy Tarreau <[email protected]> wrote:
> > If you log to local deamon, you should not lose anything in UDP.
> 
> Yes, I am logging to a local daemon.
> 
> > However, if the syslog daemon starts after haproxy or can't keep up with
> > log rate, it can lose logs but then the unix socket or a TCP connection
> > won't change anything to the problem.
> 
> No, but a local file definitely would. :-)

Indeed, but a local file is not compatible with chroot and above all, it
would not permit to be completely asynchronous, meaning that the traffic
would stall when performing writes. The real advantage of the local syslog
is to run in a separate process ;-)

Regards,
Willy


Reply via email to