From 93f6b820e2429eb6b59c6d7e7996c85d5442fca5 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Thu, 20 Apr 2023 10:17:42 +0200 Subject: [PATCH] kbase: debuglogs: Emphasize disabling daemon timeout in 'TL;DR' section Disabling the daemon timeout is important so that the settings don't get discarded. Remove the comment saying it's optional and add a paragraph outlining what to do if it is not available. Signed-off-by: Peter Krempa Reviewed-by: Michal Privoznik --- docs/kbase/debuglogs.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/kbase/debuglogs.rst b/docs/kbase/debuglogs.rst index 811ccf0102..f08132d099 100644 --- a/docs/kbase/debuglogs.rst +++ b/docs/kbase/debuglogs.rst @@ -25,10 +25,12 @@ the system clears this setting:: # virt-admin -c virtqemud:///system daemon-log-outputs "3:journald 1:file:/var/log/libvirt/libvirtd.log" # virt-admin -c virtqemud:///system daemon-log-filters "3:remote 4:event 3:util.json 3:util.object 3:util.dbus 3:util.netlink 3:node_device 3:rpc 3:access 1:*" - - # # optionally disable timeout of the daemon # virt-admin -c virtqemud:///system daemon-timeout 0 +The last command disabling timeout of the daemon is available since +``libvirt-8.6.0``. With older versions make sure to reproduce the issue within +120 seconds or have a VM running which prevents the daemon from timing out. + For any other configuration please read the rest of the document. If you want to persist the log level and log outputs settings edit ``/etc/libvirt/virtqemud.conf`` and look for ``log-filters`` and ``log-outputs``