From 3fca4ccbaf66eedc6035826afd842cde02049ba7 Mon Sep 17 00:00:00 2001 From: Éric Lemoine Date: Wed, 3 Feb 2016 11:55:14 +0100 Subject: Make Heka collect HAProxy and Keepalived logs Partially implements: blueprint heka Change-Id: I7e2bf4e520fa14fd40e3b329f3b2998ae6ea47f4 --- docker/keepalived/extend_start.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docker') diff --git a/docker/keepalived/extend_start.sh b/docker/keepalived/extend_start.sh index e1fe5d9d8..18e71d1f7 100644 --- a/docker/keepalived/extend_start.sh +++ b/docker/keepalived/extend_start.sh @@ -1,5 +1,10 @@ #!/bin/bash +# NOTE(elemoine): keepalived cannot be configured to change the log address to +# anything other than /dev/log. Heka's log socket is at /var/lib/kolla/heka/log +# so we symlink /dev/log to that location. +ln -sf /var/lib/kolla/heka/log /dev/log + modprobe ip_vs # Workaround for bug #1485079 -- cgit v1.2.3