Skip to content

Commit ec02f07

Browse files
committed
Supervisord logging: cosmetics
1 parent c363b9a commit ec02f07

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ RUN \
88
yum update -y && \
99
yum clean all && \
1010

11-
easy_install supervisor && \
12-
mkdir -p /etc/supervisord.d /var/log/supervisor
11+
easy_install supervisor
1312

1413
# Add supervisord conf, bootstrap.sh files
1514
ADD container-files /

container-files/etc/supervisord.conf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[supervisord]
22
pidfile = /var/run/supervisord.pid
3-
logfile = NONE
3+
# It seems that it's not possible to swith this log to NONE (it creates NONE logfile)
4+
logfile = /data/logs/supervisord.log
45
# Set loglevel=debug, only then all logs from child services are printed out
56
# to container logs (and thus available via `docker logs [container]`
67
loglevel = debug

0 commit comments

Comments
 (0)