Przeglądaj źródła

Merge pull request #83 from dustinlacewell/print-logs-during-attach

Tell fig up to print logs before attaching
Aanand Prasad 11 lat temu
rodzic
commit
fbff8983e4
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      fig/cli/main.py

+ 1 - 1
fig/cli/main.py

@@ -289,7 +289,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)