mirror of
https://github.com/docker/compose.git
synced 2025-07-13 16:54:25 +02:00
Merge pull request #83 from dustinlacewell/print-logs-during-attach
Tell fig up to print logs before attaching
This commit is contained in:
commit
fbff8983e4
@ -289,7 +289,7 @@ class TopLevelCommand(Command):
|
|||||||
if not detached:
|
if not detached:
|
||||||
to_attach = [c for (s, c) in new]
|
to_attach = [c for (s, c) in new]
|
||||||
print("Attaching to", list_containers(to_attach))
|
print("Attaching to", list_containers(to_attach))
|
||||||
log_printer = LogPrinter(to_attach)
|
log_printer = LogPrinter(to_attach, attach_params={"logs": True})
|
||||||
|
|
||||||
for (service, container) in new:
|
for (service, container) in new:
|
||||||
service.start_container(container)
|
service.start_container(container)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user