[Libvir] [PATCH] output virsh log to file

Daniel Veillard veillard at redhat.com
Tue May 29 12:25:59 UTC 2007

On Tue, May 29, 2007 at 11:52:08AM +0100, Richard W.M. Jones wrote:
> Did you see my other response to this?
> https://www.redhat.com/archives/libvir-list/2007-May/msg00256.html
> That script, modified a bit further (see attachment) does logging fairly 
> well.  Having it invoked as a wrapper/replacement for virsh is just a 
> matter of packaging.

  yes, but it assumes all logging should go to stderr, which is viable
sometimes but not always, the logfile opens the possibility to make really
verbose debugging without cluttering what the user see normally (i.e. 
if stderr is not redirected), and if I understand well the goal is to actually
increase debugging in the future. With nice GUI tools being developped
on top of libvirt, I expect virsh role to gradually move more and more 
to debugging use cases (without neglecting the CLI aspect though).


Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard at redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/

More information about the libvir-list mailing list