From 3a8f5be19a1b4978c415e37a4817e61ecd549b87 Mon Sep 17 00:00:00 2001 From: Joe LeVeque Date: Tue, 15 Aug 2017 10:38:49 -0700 Subject: [PATCH] [docker-database]: Start rsyslogd to allow supervisor to log to syslog (#890) --- dockers/docker-database/supervisord.conf | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/dockers/docker-database/supervisord.conf b/dockers/docker-database/supervisord.conf index 42b0eddac0a7..9ad7ff32bcf9 100644 --- a/dockers/docker-database/supervisord.conf +++ b/dockers/docker-database/supervisord.conf @@ -3,9 +3,17 @@ logfile_maxbytes=1MB logfile_backups=2 nodaemon=true +[program:rsyslogd] +command=/usr/sbin/rsyslogd -n +priority=1 +autostart=true +autorestart=false +stdout_logfile=syslog +stderr_logfile=syslog + [program:redis-server] command=/usr/bin/redis-server /etc/redis/redis.conf -priority=1 +priority=2 autostart=true autorestart=false stdout_logfile=syslog @@ -13,9 +21,8 @@ stderr_logfile=syslog [program:configdb-load.sh] command=/usr/bin/configdb-load.sh -priority=2 +priority=3 autostart=true autorestart=false stdout_logfile=syslog stderr_logfile=syslog -