From a80d3f43a70114d5512490d0bdc917501c09deec Mon Sep 17 00:00:00 2001 From: Cafer Simsek Date: Tue, 21 Feb 2017 10:55:46 +0300 Subject: [PATCH] logging to docker log --- kafka/supervisor/kafka.conf | 6 +++++- kafka/supervisor/zookeeper.conf | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/kafka/supervisor/kafka.conf b/kafka/supervisor/kafka.conf index de05832..2a9238a 100644 --- a/kafka/supervisor/kafka.conf +++ b/kafka/supervisor/kafka.conf @@ -1,4 +1,8 @@ [program:kafka] command=/usr/bin/start-kafka.sh autostart=true -autorestart=true \ No newline at end of file +autorestart=true +stdout_logfile=/dev/stdout +stdout_logfile_maxbytes=0 +stderr_logfile=/dev/stderr +stderr_logfile_maxbytes=0 \ No newline at end of file diff --git a/kafka/supervisor/zookeeper.conf b/kafka/supervisor/zookeeper.conf index 5650d95..f2af885 100644 --- a/kafka/supervisor/zookeeper.conf +++ b/kafka/supervisor/zookeeper.conf @@ -1,4 +1,8 @@ [program:zookeeper] command=/usr/share/zookeeper/bin/zkServer.sh start-foreground autostart=true -autorestart=true \ No newline at end of file +autorestart=true +stdout_logfile=/dev/stdout +stdout_logfile_maxbytes=0 +stderr_logfile=/dev/stderr +stderr_logfile_maxbytes=0 \ No newline at end of file