Skip to content

Commit

Permalink
Update comment about log drivers that support log stream
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Zak <feanorr@gmail.com>
  • Loading branch information
svarogg committed May 4, 2020
1 parent 9820699 commit f873aea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compose/container.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,8 @@ def human_readable_health_status(self):
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)
Expand Down

0 comments on commit f873aea

Please sign in to comment.