Docker Community Forums

Share and learn in the Docker community.

Docker Logs Driver + Docker logs cli?

I want to save logs between ups and downs (upgrades) of my services on the host. So I’ve used the docker recommended syslog driver, but then I can’t use the docker logs function, which is very useful - and I get this nasty output when doing ‘docker-compose up’ and everything else basically!
WARNING: no logs are available with the ‘syslog’ log driver

Also the syslogs are stored in a very inconvenience place like:
/var/lib/docker/volumes/98d998a47245251bd0fb11da-some-extremely-long-ID

How can I remedy these issues?
Thanks!

So this broken functionality is default, it seems. The work around I have is to just use the journald driver instead. Then ‘docker logs’ works normally.