这是indexloc提供的服务,不要输入任何密码
Skip to content

Add --grouped flag to group log output  #219

@jaredpalmer

Description

@jaredpalmer

Describe the feature you'd like to request

Output of steps are intermingled and can be a little hard to read

CleanShot 2021-12-12 at 18 03 32@2x

https://twitter.com/yangshunz/status/1470019087669489665

Describe the solution you'd like

  • Add a --grouped flag that will not stream, but buffer and print all logs of a task once in a single group after a task is completed. This should be the default log behavior in non-interactive terminal processes. Our logstreamer abstraction already has an option for this, but need to make sure that prints to stdout/stderr are not intermingled. Ideally, writes should print First In, First Out, so a (new) queue/channel might be needed inside of run_state.go.
  • Update documentation

Describe alternatives you've considered

  • --buffered flag name

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions