Skip to content

Write status messages to stderr in live tail #9

@ryanartecona

Description

@ryanartecona

For the use case of combining a live tail session with grep or other utilities in a pipeline, there should be a separation between the log data going to stdout and all other diagnostic messages going to stderr.

My python is rusty, but I believe this amounts to simply giving a file=sys.stderr kwarg to every call to print() inside of liveTail(), e.g. here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions