Docker Community Forums

Share and learn in the Docker community.

Daemon logging missing?

docker

(John Harris) #1

Got a strange (couple of?) issues with daemon logging. I’m on Ubuntu 14.04 (upstart) and I have daemon options specified in the /etc/docker/daemon.json config file. Debug level is “debug” and Debug is set to true. I know this file is being read as I also have user namespace remapping configured in here and that is in effect as expected (not setting any daemon options elswhere).

So, issue one, I can’t find any daemon logs. The folder /var/log/upstart (and hence /var/log/upstart/docker.log) doesn’t exist on my system. A find . docker.log doesn’t turn up anything. shrugs

Second issue, and more minor: apparently some attributes in the daemon.json config file should take effect with dynamic reloading (no need for daemon restart). Switching debug on or off is one of these options according to the docs, but it doesn’t seem to work. I have to bounce the daemon in order for it to take effect.

Open to ideas!