[openstack-dev] [devstack] libvirt default log level

Daniel P. Berrange berrange at redhat.com
Wed Jan 15 17:35:21 UTC 2014

On Wed, Jan 15, 2014 at 05:28:07PM +0000, Daniel P. Berrange wrote:
> On Wed, Jan 15, 2014 at 09:56:58AM -0700, Steven Dake wrote:
> Agreed, it is complete insanity to set 'log_level=1' on *any* hosts.
> The level of debug info that generates is so enourmous that you'd
> never wanted to look at it. Debugging from that would be like trying
> to find a specific piece of hay in a haystack. That original devstack
> change should just be completely reverted.
> It would be useful if Jenkins machines had an elevated log level,
> but even there you definitely don't want to set log_level=1. I
> would suggest that for Jenkin's machines *only* we want to try
>    log_filters="1:libvirt 1:qemu 1:conf 1:security 3:event 3:json 3:file 1:util"
>    log_outputs="1:file:/var/log/libvirt/libvirtd.log"

I see that something close to this has already been added to devstack:


which is the right way to tailor logging levels.

So we should definitely revert https://review.openstack.org/#/c/63992/

|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

More information about the OpenStack-dev mailing list