diff --git a/templates/haproxy.cfg.j2 b/templates/haproxy.cfg.j2
index 92cda70..3aafbce 100644
--- a/templates/haproxy.cfg.j2
+++ b/templates/haproxy.cfg.j2
@@ -46,6 +46,8 @@ defaults
     timeout check  {{ haproxy_check_timeout }}
     timeout http-request 10s  # slowloris protection
     default-server inter 3s fall 2 rise 2 slowstart 60s
+    option dontlognull
+    option log-health-checks
 
 # Needed to preserve the stick tables
 peers mypeers
@@ -79,6 +81,7 @@ frontend http_{{ docker_swarm_haproxy_plain_http_port }}
 
     mode http
     option http-keep-alive
+    option httplog
     option forwardfor
 
 {% for srv in docker_swarm_haproxy_plain_http_services %}
@@ -104,6 +107,7 @@ frontend http
 
     mode http
     option http-keep-alive
+    option httplog
     option forwardfor
     # HSTS (63072000 seconds)
     http-response set-header Strict-Transport-Security max-age=63072000