Browse Source

Update comment about log drivers that support log stream

Signed-off-by: Mike Zak <[email protected]>
Mike Zak 5 năm trước cách đây
mục cha
commit
f873aeace3
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      compose/container.py

+ 2 - 2
compose/container.py

@@ -208,8 +208,8 @@ class Container(object):
         return status_string
 
     def attach_log_stream(self):
-        """A log stream can only be attached if the container uses a json-file
-        log driver.
+        """A log stream can only be attached if the container uses a
+        json-file, journald or local log driver.
         """
         if self.has_api_logs:
             self.log_stream = self.attach(stdout=True, stderr=True, stream=True)