Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When the output is not a TTY (e.g. when redirected), glibc switches from line buffering to block buffering for stdout/stderr. Rootcanal's startup log messages aren't enough to fill a block, so it would appear to just not log anything at all. Now, `./rootcanal | cat` behaves as expected: log messages show up immediately.
- Loading branch information