1
0
Эх сурвалжийг харах

Tell fig up to print logs before attaching

Dustin Lacewell 11 жил өмнө
parent
commit
511a9beede
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      fig/cli/main.py

+ 1 - 1
fig/cli/main.py

@@ -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)