Skip to content

tlog redirects stderr to stdout, breaking automated/advanced usage #367

@CendioOssman

Description

@CendioOssman

It seems tlog merges stderr and stdout output and dumps both on stdout instead. This breaks automated things as they expect the two channels to be distinct.

One such case is ThinLinc, which uses ssh as a transport layer. It will just hang, as it never sees the expected output on stderr as tlog has redirected that to stdout.

You can easily test this using this small command:

$ ssh user@server.example.com echo Foobar '>&2' 2>/dev/null

Without tlog, this prints nothing (CORRECT). With tlog, it prints "Foobar" (INCORRECT).

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