1
0
mirror of https://github.com/docker/compose.git synced 2025-04-08 17:05:13 +02:00

'fig logs' shows output for stopped containers

This commit is contained in:
Aanand Prasad 2014-01-14 12:39:13 +00:00
parent f448a841c5
commit b92e998929

@ -113,7 +113,7 @@ class TopLevelCommand(Command):
Usage: logs [SERVICE...]
"""
containers = self.project.containers(service_names=options['SERVICE'], stopped=False)
containers = self.project.containers(service_names=options['SERVICE'], stopped=True)
print("Attaching to", list_containers(containers))
LogPrinter(containers, attach_params={'logs': True}).run()