From nobody Wed May 1 15:58:38 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.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 216.205.24.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=1605282123; cv=none; d=zohomail.com; s=zohoarc; b=krQKX78uxL+2lBizxejPkqojdzlK5W6sV/xPl7cKdeeIgcAxqtQyd2u6bF5WzphueFmXI7WRK/NL+SCt2AVYDBXGfhihSpy+q8cwgAuzYQljAzzEUXoCLkckz8DJTj5SVeZtGv4+fLcc8lD+Anq9j4VkWknezwds4mQxuY9QUqw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1605282123; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=k4Th7Cb9kD3BoZlwhQThiRcH3qjWvCZ/WFwhPfCMJWg=; b=C9z0z8bS24n6h1JGy6k7zWR4rDslxf3iIYhYqZlgz0rUJfHVBh22OIqEtMNwC5m4OfAHZLcgsYDICDD8gIdDuxo1p6oe3sNzoaMcFJAxu33dhvpv4teNJkUXMsyLsWNZwM5wLSliiLHMyz8SFRW/CGVaR6WdeEA14jom9dMYLQU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1605282123490256.732241196828; Fri, 13 Nov 2020 07:42:03 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-312-NIdI0dzuMa6nlBgHsk5LpQ-1; Fri, 13 Nov 2020 10:39:48 -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 82DC18049DE; Fri, 13 Nov 2020 15:39:42 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5A5E65D9F3; Fri, 13 Nov 2020 15:39:42 +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 1060A181A06E; Fri, 13 Nov 2020 15:39:42 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 0ADFYX9l021494 for ; Fri, 13 Nov 2020 10:34:33 -0500 Received: by smtp.corp.redhat.com (Postfix) id B0E7D5D9F3; Fri, 13 Nov 2020 15:34:33 +0000 (UTC) Received: from harajuku.usersys.redhat.com (unknown [10.40.194.122]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0396E5D9F1 for ; Fri, 13 Nov 2020 15:34:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1605282122; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=k4Th7Cb9kD3BoZlwhQThiRcH3qjWvCZ/WFwhPfCMJWg=; b=Aq7GeAR9C8G9cJ5aE9etcQL6THGCU2vhVDl8wjYac8diRBBhxOrwgMwRAvsuxooxkp69/0 +fEaxnVDxmpoQ7EhBXcu3EHzBrekLYSO3BycGUeg5lmJiBfPOYSHNlhdeUKm81/9aHGQR0 w5sjGmw9yK6ZSn1rzri1Hhw1dmBykYc= X-MC-Unique: NIdI0dzuMa6nlBgHsk5LpQ-1 From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt PATCH] kbase: Shorten "less verbose QEMU logging" example Date: Fri, 13 Nov 2020 16:34:25 +0100 Message-Id: <20201113153425.650614-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 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) Content-Type: text/plain; charset="utf-8" Rationale for the changes: * util.dbus produces very little logging, so it doesn't really make sense to filter it out; * util.udev doesn't exist; * access can be filtered out entirely, as nothing very interesting is produced by the only other component in the same package (access.accessdriverpolkit). Signed-off-by: Andrea Bolognani Reviewed-by: J=C3=A1n Tomko Reviewed-by: Peter Krempa --- docs/kbase/debuglogs.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/kbase/debuglogs.rst b/docs/kbase/debuglogs.rst index 7945cf8bed..fed998efd8 100644 --- a/docs/kbase/debuglogs.rst +++ b/docs/kbase/debuglogs.rst @@ -178,13 +178,12 @@ Less verbose logging for QEMU VMs =20 Some subsystems are very noisy and usually not the culprit of the problems= . They can be silenced individually for a less verbose log while still logging -everything else. Usual suspects are the JSON code, udev, authentication an= d such. +everything else. Usual suspects are the JSON code, RPC, authentication and= such. A permissive filter is good for development use cases. =20 :: =20 - 3:remote 4:event 3:util.json 3:util.object 3:util.dbus 3:util.udev 3:n= ode_device 3:rpc 3:access.accessmanager 3:util.netlink 1:* - + 3:remote 4:event 3:util.json 3:util.object 3:util.netlink 3:node_devic= e 3:rpc 3:access 1:* =20 Minimalistic QEMU QMP monitor logging ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --=20 2.26.2