mirror of https://github.com/docker/compose.git
Update comment about log drivers that support log stream
Signed-off-by: Mike Zak <feanorr@gmail.com>
This commit is contained in:
parent
982069903d
commit
f873aeace3
|
@ -208,8 +208,8 @@ class Container(object):
|
||||||
return status_string
|
return status_string
|
||||||
|
|
||||||
def attach_log_stream(self):
|
def attach_log_stream(self):
|
||||||
"""A log stream can only be attached if the container uses a json-file
|
"""A log stream can only be attached if the container uses a
|
||||||
log driver.
|
json-file, journald or local log driver.
|
||||||
"""
|
"""
|
||||||
if self.has_api_logs:
|
if self.has_api_logs:
|
||||||
self.log_stream = self.attach(stdout=True, stderr=True, stream=True)
|
self.log_stream = self.attach(stdout=True, stderr=True, stream=True)
|
||||||
|
|
Loading…
Reference in New Issue