Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
CendioOssman opened this issue Mar 1, 2024 · 0 comments
Open

Comments

@CendioOssman
Copy link

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 [email protected] echo Foobar '>&2' 2>/dev/null

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant