Does logging to syslog instead of a file work for you?
That's what we do in a similar situation on Android. The flag may work
on linux already, if not it should be fixed.


On Mon, Nov 2, 2015 at 11:09 AM, Hanno Böck <[email protected]> wrote:
> On Sun, 1 Nov 2015 20:50:08 -0800
> Konstantin Serebryany <[email protected]> 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.
>
> --
> Hanno Böck
> http://hboeck.de/
>
> mail/jabber: [email protected]
> GPG: BBB51E42
>
> --
> You received this message because you are subscribed to the Google Groups 
> "address-sanitizer" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"address-sanitizer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to