On Wed, Feb 04, 2015 at 10:27:34AM +0000, Daniel P. Berrange wrote:
> On Wed, Feb 04, 2015 at 11:23:34AM +0100, Kashyap Chamarthy wrote:
> > Heya,
> > 
> > I noticed a ping (but couldn't respond in time) on #openstack-nova IRC
> > about turning on logging in libvirt to capture Nova failures.
> > 
> > This was discussed on this list previously by Daniel Berrange, just
> > spelling it out here for reference and completness' sake.
> > 
> > 
> > (1) To see the interactions between libvirt and QEMU, in
> >     /etc/libvirt/libvirtd.conf, have these two config attributes:
> > 
> >     . . .
> >     log_filters="1:libvirt 1:qemu 1:conf 1:security 3:event 3:json 3:file 
> > 1:util"
> 
> You really want  "3:object" in there /before/  1:util too otherwise you'll
> be spammed with object ref/unref messages

Thanks for this detail.

> 
> >     log_outputs="1:file:/var/tmp/libvirtd.log"
> 
> Use  /var/log/libvirt/libvirtd.log instead of /var/tmp

Ah, yeah, it was an incorrect copy/paste.

-- 
/kashyap

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to