Skip to content

Commit

Permalink
Supervisord logging: cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
ryzy committed Sep 19, 2014
1 parent c363b9a commit ec02f07
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ RUN \
yum update -y && \
yum clean all && \

easy_install supervisor && \
mkdir -p /etc/supervisord.d /var/log/supervisor
easy_install supervisor

# Add supervisord conf, bootstrap.sh files
ADD container-files /
Expand Down
3 changes: 2 additions & 1 deletion container-files/etc/supervisord.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[supervisord]
pidfile = /var/run/supervisord.pid
logfile = NONE
# It seems that it's not possible to swith this log to NONE (it creates NONE logfile)
logfile = /data/logs/supervisord.log
# Set loglevel=debug, only then all logs from child services are printed out
# to container logs (and thus available via `docker logs [container]`
loglevel = debug
Expand Down

0 comments on commit ec02f07

Please sign in to comment.