Zun

Add support for following logs

Bug #1735074 reported by hongbin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zun
In Progress
Medium
Kien Nguyen

Bug Description

In Docker, it is possible to use the '--follow' option to follow the logs of a container.

  $ docker logs --help

  Usage: docker logs [OPTIONS] CONTAINER

  Fetch the logs of a container

  Options:
        ...
    -f, --follow Follow log output
        ...

This feature is useful. Zun is better to support this options as well. Note that the '--follow' requires streaming output to API users. The implementation might be similar as how we support interactive execute: https://review.openstack.org/#/c/445234/16

[1] https://github.com/openstack/zun/blob/master/zun/websocket/websocketproxy.py
[2] https://review.openstack.org/#/c/445234/16

hongbin (hongbin034)
Changed in zun:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to zun (master)

Fix proposed to branch: master
Review: https://review.openstack.org/571952

Changed in zun:
assignee: nobody → Kien Nguyen (kiennt2609)
status: Triaged → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.