-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
area: loggingImprovements to loggingImprovements to logginggood first issueGood for newcomersGood for newcomers
Description
Describe the feature you'd like to request
Output of steps are intermingled and can be a little hard to read
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. Ourlogstreamer
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 ofrun_state.go
. - Update documentation
Describe alternatives you've considered
--buffered
flag name
acidoxee, satoshi-szk, alex-page, yangshun, namuol and 8 moreruettenm and mihaiditaruettenm
Metadata
Metadata
Assignees
Labels
area: loggingImprovements to loggingImprovements to logginggood first issueGood for newcomersGood for newcomers