On Sun, 1 Nov 2015 20:50:08 -0800
Konstantin Serebryany <
konstantin....@gmail.com> wrote:
> The code is already too complicated.
> If we are to add any additional complexity, we at least need to
> understand why that's needed.
Had hoped it wouldn't require too much complexity.
Basically I'm currently trying to create a full linux system running
with asan. Usually I want apps to fail in front of me, so that I can
see the error right away.
But sometimes the output is hidden, because an app disables stderr or
because it's something happening forked away, caused by a gui app or
something else. In these cases I want to be able to recover the errors
that happened.
Therefore having both logging and stderr output is what I want.
I'd also find it considerable to just not disable stderr if a log file
is set. That would avoid introducing another flag. Not sure if that
breaks any other use case.