aboutsummaryrefslogtreecommitdiffstats
path: root/config/haproxy-dev/haproxy.inc
diff options
context:
space:
mode:
authorthompsa <andy@fud.org.nz>2010-02-11 10:06:38 +1300
committerthompsa <andy@fud.org.nz>2010-02-11 10:07:02 +1300
commit9636654ae8fa83433e7a446bc0a56112f660dade (patch)
tree36cf83ff076d1adde8f60dc257620159231d9052 /config/haproxy-dev/haproxy.inc
parentbb6896c3c1f41a8a04f3bfc9dfafe92bb400ec2a (diff)
downloadpfsense-packages-9636654ae8fa83433e7a446bc0a56112f660dade.tar.gz
pfsense-packages-9636654ae8fa83433e7a446bc0a56112f660dade.tar.bz2
pfsense-packages-9636654ae8fa83433e7a446bc0a56112f660dade.zip
Add syslog facility and level to the global options.
Diffstat (limited to 'config/haproxy-dev/haproxy.inc')
-rw-r--r--config/haproxy-dev/haproxy.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/haproxy-dev/haproxy.inc b/config/haproxy-dev/haproxy.inc
index 97e33609..0eb97df7 100644
--- a/config/haproxy-dev/haproxy.inc
+++ b/config/haproxy-dev/haproxy.inc
@@ -111,7 +111,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']}\tlocal0\n");
+ fwrite ($fd, "\tlog\t\t\t{$a_global['remotesyslog']}\t{$a_global['logfacility']}\t{$a_global['loglevel']}\n");
fwrite ($fd, "\tuid\t\t\t80\n");
fwrite ($fd, "\tgid\t\t\t80\n");
// Set numprocs if defined or use system default (#cores)