Skip to content

logs: Move output after CTRL + C from stdout to file  #9538

@jmalicevic

Description

@jmalicevic

Summary

When execution is interrupted with CTRL+C, Tendermint outputs a long list of messages, clogging the output and making it hard to find useful messages or removing them entirely from the scrollback. Users have reported loosing a lot of time simply scrolling back while running testnets.

Redirecting the status messages from Tendermint to a log would preserve relevant information but still keep the output clean.

Implementation details

  • Determine what are the messages that are output when Tendermint is shutting down and filter out the ones that provide little information.
  • Output those messages to a separate log file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlog-priorityA priority issue in the backlogstalefor use by stalebot

    Type

    No type

    Projects

    Status

    Done/Merged

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions