mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15:17 +00:00
kbase: debuglogs: Un-nest section on enabling debug logs
Enabling the logs is the focus of this article. Decouple it from the first section. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Erik Skultety <eskultet@redhat.com>
This commit is contained in:
parent
83f4019f51
commit
58d0cf480d
@ -18,10 +18,10 @@ well.
|
||||
|
||||
|
||||
How to turn on debug logs for libvirt
|
||||
-------------------------------------
|
||||
=====================================
|
||||
|
||||
Persistent setting
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
------------------
|
||||
|
||||
The daemon configuration files location is dependent on `connection
|
||||
URI <https://libvirt.org/uri.html>`__. For ``qemu:///system``:
|
||||
@ -71,7 +71,7 @@ However, when you are using the session mode ``qemu:///session`` or you run the
|
||||
``$XDG_CONFIG_HOME/libvirt/libvirtd.conf``.
|
||||
|
||||
Runtime setting
|
||||
~~~~~~~~~~~~~~~
|
||||
---------------
|
||||
|
||||
Debugging anomalies can be very painful, especially when trying to reproduce it
|
||||
after the daemon restarts, since the new session can make the anomaly
|
||||
@ -112,7 +112,7 @@ once you're finished debugging, just remember to save the original sets of
|
||||
filters and outputs and restore them at the end the same way as described above.
|
||||
|
||||
Removing filters and outputs
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
It's also possible to remove all the filters and produce an enormous log file,
|
||||
but it is not recommended since some of libvirt's modules can produce a large
|
||||
|
Loading…
x
Reference in New Issue
Block a user