From 4aa00d15fa97f2c40b57d9d7b625ce5cdfb8b895 Mon Sep 17 00:00:00 2001 From: Joao Gilberto Magalhaes Date: Mon, 17 Sep 2018 01:06:00 -0500 Subject: [PATCH] Added Log to StdOut --- entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index b50d947..2bcb453 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -27,7 +27,7 @@ defaults errorfile 504 /etc/haproxy/errors-custom/504.http global - log 127.0.0.1 local0 notice + log /dev/log local0 maxconn 2000 " } @@ -122,5 +122,5 @@ fi frontend "$FRONTEND" >> $HAPROXY_CFG backend "$BACKEND" >> $HAPROXY_CFG +/sbin/syslogd -O /proc/1/fd/1 /docker-entrypoint.sh "$@" -