arbitrary logging should all go to stderr
stdout is only meant for "meaningful" output (aka something that other program can consume)
I've talked about this at least once at...
https://discord.com/channels/922234432071548968/922234432071548973/1471664190774313062
...where this behavior was annoying to deal with during #902
This wasn't a big deal back then, but recently the idea about dumping style and color tables to pipe/file was born at #914, and obviously if some random logging message appears at stdout before the dump was done, it will corrupt it.
Here is a gist showing (most?) occurrences:
https://gist.github.com/sleeptightAnsiC/3231edf75b8f4edec82bf9ceab6f6f0e
I can probably replace them all programmatically with SED
This is NOT urgent at all. Just wanted to track it somewhere. Any thoughts?
cc @rswinkle , @PavelSharp , @RobLoach
arbitrary logging should all go to stderr
stdout is only meant for "meaningful" output (aka something that other program can consume)
I've talked about this at least once at...
https://discord.com/channels/922234432071548968/922234432071548973/1471664190774313062
...where this behavior was annoying to deal with during #902
This wasn't a big deal back then, but recently the idea about dumping style and color tables to pipe/file was born at #914, and obviously if some random logging message appears at stdout before the dump was done, it will corrupt it.
Here is a gist showing (most?) occurrences:
https://gist.github.com/sleeptightAnsiC/3231edf75b8f4edec82bf9ceab6f6f0e
I can probably replace them all programmatically with SED
This is NOT urgent at all. Just wanted to track it somewhere. Any thoughts?
cc @rswinkle , @PavelSharp , @RobLoach