Fix haproxy logging.

Need to use the rsyslogd Unix socket for logging since it doesn't
listen on a port by default.

Change-Id: Ibec1a5807a536788190efe3cedc0cea4499e8480
This commit is contained in:
David Shrewsbury
2012-11-06 14:51:42 -05:00
parent 15f2e5d22f
commit 9cc982b208

View File

@@ -42,8 +42,8 @@ class HAProxyDriver(LoadBalancerDriver):
output = []
output.append('global')
output.append(' daemon')
output.append(' log 127.0.0.1 local0')
output.append(' log 127.0.0.1 local1 notice')
output.append(' log /dev/log local0')
output.append(' log /dev/log local1 notice')
output.append(' maxconn 4096')
output.append(' user haproxy')
output.append(' group haproxy')