[libvirt] [PATCH] daemon: Fix LIBVIRT_DEBUG=1 default output

Eric Blake eblake at redhat.com
Thu Oct 25 20:43:42 UTC 2012


On 10/25/2012 02:35 PM, Cole Robinson wrote:
>> Thinking about it a bit more, should we be checking if stderr, rather
>> than stdin, is a ttty?  That is, if you run 'libvirtd </dev/null' from a
>> terminal, don't you still want output to the stderr tty?
>>
> 
> But the libvirtd > out 2>&1 is going to stop working which is a lot more
> useful then anything stdin related.

Fair enough - I'm happy to leave the isatty() check on stdin alone.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 617 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20121025/798a214e/attachment-0001.sig>


More information about the libvir-list mailing list