Skip to content

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

@jmalicevic

Description

@jmalicevic

Original issue: tendermint/tendermint#9538

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

    backlogA prioritized task in the team's backlog

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions