aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-01-23 14:52:58 -0500
committerScott Ullrich <sullrich@pfsense.org>2010-01-23 14:52:58 -0500
commiteba197300e16271044f1446d006f544cd7213970 (patch)
treeb1f90669a1f51fe2d29790961e50531a7ebf8370
parent5c7cf51e0807b89ff7d2ed979116a5228e976667 (diff)
downloadpfsense-packages-eba197300e16271044f1446d006f544cd7213970.tar.gz
pfsense-packages-eba197300e16271044f1446d006f544cd7213970.tar.bz2
pfsense-packages-eba197300e16271044f1446d006f544cd7213970.zip
Adding local0 to remote syslog
-rw-r--r--config/haproxy/haproxy.inc2
1 files changed, 1 insertions, 1 deletions
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)