From 23ad337b3cbed9ea173370cd411b9038d5a54cd0 Mon Sep 17 00:00:00 2001 From: sullrich Date: Wed, 16 Dec 2009 18:10:33 -0500 Subject: Allow startup when no remote syslog server is entered --- config/haproxy/haproxy.inc | 2 -- 1 file changed, 2 deletions(-) (limited to 'config') diff --git a/config/haproxy/haproxy.inc b/config/haproxy/haproxy.inc index 769f007f..6bb3242b 100644 --- a/config/haproxy/haproxy.inc +++ b/config/haproxy/haproxy.inc @@ -111,8 +111,6 @@ function haproxy_configure() { fwrite ($fd, "\tmaxconn\t\t\t".$a_global['maxconn']."\n"); if($a_global['remotesyslog']) fwrite ($fd, "\tlog\t\t\t{$a_global['remotesyslog']}\n"); - else - fwrite ($fd, "\tlog\t\t\tglobal\n"); fwrite ($fd, "\tuid\t\t\t80\n"); fwrite ($fd, "\tgid\t\t\t80\n"); $numprocs = trim(`/sbin/sysctl kern.smp.cpus | cut -d" " -f2`); -- cgit v1.2.3