On Thu, Jul 30, 2020 at 12:30:32PM +0200, Peter Krempa wrote:
(Probably this needs to be done in a separate patch from this Wiki->rST
conversion, but a quick point inline.)
[...]
+How to turn on debug logs for libvirt
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Persistent setting
+^^^^^^^^^^^^^^^^^^
[...]
+
+ # 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.
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"
Should the document be updated with the above filters? (Assuming this
set looks good to the reviewers.)
+ log_outputs="1:file:/var/log/libvirt/libvirtd.log"
[...]
--
/kashyap