From nobody Sun Feb 8 15:30:50 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1642434052; cv=none; d=zohomail.com; s=zohoarc; b=l7hEhj6F1E5iLpSOWt3ZSBemmx4duGSPcdlHn+nzjk//EdbDPuEybliFUrjGyzLLYY6tT5/RZUWMTfa2f+gE36/aHBb3KDJZdoJNez0rBr6hhVj/sV6LAq8Dj8Tq47pKf8p0UffrkL6Pb0UdrwaSQH7Q98TFOCUKdwQhE8ujD4Y= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1642434052; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=B7Hlbst64qHeX9XE/VW78CJe2ciuc5E9oPrW5M3SmjE=; b=XSQCkaQuHG1vutK8HWvJ9x/uy1b4bCd5fHM7SIvzuwwdouqmmRglSPtdFL386m9rhYd6rmgqg9ke6ry6tWhX1K360N7lnDzpGk+PMwUNnKYy1M0tMGLb9z1DG1ejCJpr9UvH0keBHxtR+BxKFnl742Qbr8mI2TkueSGEdAKTROU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1642434052608823.9455643278615; Mon, 17 Jan 2022 07:40:52 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-542-vCibIDGnMxO3atzE1c8Z3Q-1; Mon, 17 Jan 2022 10:40:31 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 43142106B3A6; Mon, 17 Jan 2022 15:39:50 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 243F3798C6; Mon, 17 Jan 2022 15:39:50 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id E74844BB7C; Mon, 17 Jan 2022 15:39:49 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 20HFdVgF000489 for ; Mon, 17 Jan 2022 10:39:31 -0500 Received: by smtp.corp.redhat.com (Postfix) id B5BF75B922; Mon, 17 Jan 2022 15:39:31 +0000 (UTC) Received: from speedmetal.redhat.com (unknown [10.40.208.7]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1C0B85444C for ; Mon, 17 Jan 2022 15:39:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1642434051; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=B7Hlbst64qHeX9XE/VW78CJe2ciuc5E9oPrW5M3SmjE=; b=WgdiQBu6lnIzTcoFG38QbVnCaS85SQpeD5xAYn2m5um4Lj+MXRuycEZERyi+5XWgX44KvB PUKThnJjJgFcJy3mnj/HFP6fWRYiGaJqZq7lqMAAr4/cllV7Ir7kAVP53wbj+uzFDbMVXx YIv2uAUpAp7kmzJE/mOZFZ/5CoUGo5M= X-MC-Unique: vCibIDGnMxO3atzE1c8Z3Q-1 From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 3/8] kbase: debuglogs: Un-nest section on enabling debug logs Date: Mon, 17 Jan 2022 16:39:11 +0100 Message-Id: <648c8d29d9fabeba830b95b03b62d185d80d842f.1642433476.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1642434053537100001 Content-Type: text/plain; charset="utf-8" Enabling the logs is the focus of this article. Decouple it from the first section. Signed-off-by: Peter Krempa Reviewed-by: Erik Skultety --- docs/kbase/debuglogs.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/kbase/debuglogs.rst b/docs/kbase/debuglogs.rst index 967ec10f4a..e0115bd23f 100644 --- a/docs/kbase/debuglogs.rst +++ b/docs/kbase/debuglogs.rst @@ -18,10 +18,10 @@ well. How to turn on debug logs for libvirt -------------------------------------- +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Persistent setting -~~~~~~~~~~~~~~~~~~ +------------------ The daemon configuration files location is dependent on `connection URI `__. For ``qemu:///system``: @@ -71,7 +71,7 @@ However, when you are using the session mode ``qemu:///se= ssion`` or you run the ``$XDG_CONFIG_HOME/libvirt/libvirtd.conf``. Runtime setting -~~~~~~~~~~~~~~~ +--------------- Debugging anomalies can be very painful, especially when trying to reprodu= ce 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 t= he 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 f= ile, but it is not recommended since some of libvirt's modules can produce a la= rge --=20 2.34.1