From eba197300e16271044f1446d006f544cd7213970 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 23 Jan 2010 14:52:58 -0500 Subject: Adding local0 to remote syslog --- config/haproxy/haproxy.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/haproxy') diff --git a/config/haproxy/haproxy.inc b/config/haproxy/haproxy.inc index 5cf2c11f..536ef1f7 100644 --- a/config/haproxy/haproxy.inc +++ b/config/haproxy/haproxy.inc @@ -112,7 +112,7 @@ function haproxy_configure() { fwrite ($fd, "\t" . base64deode($a_global['advanced']) . "\n"); fwrite ($fd, "\tmaxconn\t\t\t".$a_global['maxconn']."\n"); if($a_global['remotesyslog']) - fwrite ($fd, "\tlog\t\t\t{$a_global['remotesyslog']}\n"); + fwrite ($fd, "\tlog\t\t\t{$a_global['remotesyslog']}\tlocal0\n"); fwrite ($fd, "\tuid\t\t\t80\n"); fwrite ($fd, "\tgid\t\t\t80\n"); // Set numprocs if defined or use system default (#cores) -- cgit v1.2.3