Docker Community Forums

Share and learn in the Docker community.

How to re-direct swarm's log to a file?

(Klaus1982) #1

Is there anyway to re-direct swarm’s log to a file? “2>&1” is not the option.

(Justin Watkinson) #2

Have you tried using the log drivers yet? Since swarm runs as a container, don’t see why something like syslog or maybe awslogs wouldn’t work.

(Klaus1982) #3

Because I’d like 3rd part application to get the logs from FS.