[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH 3/3] docs: kbase: Port 'debuglogs' document from libvirt's wiki



On Mon, Aug 03, 2020 at 11:53:20AM +0200, Peter Krempa wrote:
> On Mon, Aug 03, 2020 at 11:44:39 +0200, Kashyap Chamarthy wrote:

[...]

> > > +
> > > +   # LEGACY SETTINGS PRIOR LIBVIRT 4.4.0 SEE BELOW! #
> > > +   log_level = 1
> > > +   log_filters="1:qemu 3:remote 4:event 3:util.json 3:rpc"
> > > +   log_outputs="1:file:/var/log/libvirt/libvirtd.log"
> > > +
> > > +::
> > > +
> > > +   # PREFERRED SETTINGS AFTER LIBVIRT 4.4.0 #
> > > +   log_filters="3:remote 4:event 3:util.json 3:rpc 1:*"
> > 
> > The above "PREFERRED" settings doesn't capture QMP commands, does it?
> > The '1:qemu' is supposed to do it.  
> 
> It has 1:* since after 4 it supports wildcats which is equivalent to
> 1:qemu.

Ah, I missed to notice the above wildcat! :-)

Thanks; then no need for an edit to to doc.

Though I suspect the 1:* logs a bit more than the below targetted
filters.

> > FWIW, after some debugging sessions with Dan Berrangé, I have been using
> > the following filters:
> > 
> >     "1:libvirt 1:qemu 1:conf 1:security 3:event 3:json 3:file 3:object 1:util"
> 
> Didn't you debug a 4.4.0 or older libvirt?

Pretty sure I did :-) I forget what filters I used when.

[...]

-- 
/kashyap


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]