mirror of
https://github.com/docker/compose.git
synced 2025-04-08 17:05:13 +02:00
Tell fig up to print logs before attaching
This commit is contained in:
parent
4ee87a7029
commit
511a9beede
@ -292,7 +292,7 @@ class TopLevelCommand(Command):
|
||||
if not detached:
|
||||
to_attach = [c for (s, c) in new]
|
||||
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:
|
||||
service.start_container(container)
|
||||
|
Loading…
x
Reference in New Issue
Block a user