From nobody Thu Apr 18 19:42:16 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VL7TP1FGBz5HS3F; Thu, 18 Apr 2024 19:42:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VL7TP0qlRz4GbV; Thu, 18 Apr 2024 19:42:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713469337; h=from:from: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; bh=YVMEJnq7/SUmQUbDLpItqSckj2916fdAo1z1x1VxoxM=; b=OBUEIFXNzUn1MM0kj7ul4dZmUGP3xfacGDt/KRS+h+5NADg45b6r9dKjduOilCE/qDBhQb QRHEHulKpPeY6p8Ic2I7TnFgkNoykHlVmeBeFyokd5asU3jn53u0wMDsb6lhfOKOuezbTG kTbqJrR8tADQ1t5IEmtwlvhj3OVUeD/UGe6oBGGzMqZ8qumZIUby058fkz0teNkQNT7R1g WA4gvVEYxGwzObVhb8NiBVSb4afQ+MWfCmGeC8konmoK6gXG4fM0+IuZjZ2JI2simFWct3 w1OsD21SVI33nfG+Ok6cbbiKLRQyoDDzGzN74GgrNMCDZ/JYd9VWjhrG/Zw2uA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713469337; a=rsa-sha256; cv=none; b=BKFlYMn1xracYA4lCEj4ALIAtgsJHLiibJuJLPHrxzYPiH7iMmVOdNtFV+mtdH7QyXIKSG QXSNGrbqFOXq2p27ERhTPcIrHQfHgURHMDenJvjtaV+9TGLvkTxc1ZKN5S4AeiMmRZnLHU 8FLFmnOVKBenzqdBvQDb7SyQTtJXvFXJ7x2pRjUDqwdhnM36DoHs7kqSsbzBgFUi/vyQZD qxj5U1IxwehbSghsOg7IuGsyKIbxJTFK0YWrLOfIRcZFw9jd2NrbjJhDVN3Zos31B/Okmr Bk0CLXqBmIdPWv/tZB4eLiToTnfyitsBtYy7ABeseyeZS2DFB6kIvlakIeAM2w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713469337; h=from:from: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; bh=YVMEJnq7/SUmQUbDLpItqSckj2916fdAo1z1x1VxoxM=; b=iNGxN35O01zuyKr9BEY5hbepOdUpFWiql/8ZbdGARyhggV/sBM6rmUxHL0bNJ+JflPpwW/ qNY7e8gvO7AeMFRxAs68Zf3dcCildCukw4nWCzk27byuDTY1ECi+mrS0qrBpZKUfsAWp0o PneLyZZGJYadn+tkEq3B5b/N1N+BQKFPWk5hXzjDS2RqJ0m0GCNdGABrTy+cqmgb/jWulM olJltYUZiP6MjLFoTTzAPV107dw2Z+dbLLPjp3SIWvyKafcgBb9gOzDYufd0VsEewqzSsr uN0j1bdm8QIwrYs4lsoA9z16om28cvocKOY5XVnwUuO9zvCak5+t+ui7z9TaSA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VL7TP0R9lzNWw; Thu, 18 Apr 2024 19:42:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 43IJgGxC066097; Thu, 18 Apr 2024 19:42:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43IJgGID066094; Thu, 18 Apr 2024 19:42:16 GMT (envelope-from git) Date: Thu, 18 Apr 2024 19:42:16 GMT Message-Id: <202404181942.43IJgGID066094@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Marius Strobl Subject: git: 3d1d7c2c161d - stable/13 - fib_algo(4): Lower level of algorithm switching messages to LOG_INFO List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: marius X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 3d1d7c2c161d58cffd0bcd2c77ae580db394879d Auto-Submitted: auto-generated The branch stable/13 has been updated by marius: URL: https://cgit.FreeBSD.org/src/commit/?id=3d1d7c2c161d58cffd0bcd2c77ae580db394879d commit 3d1d7c2c161d58cffd0bcd2c77ae580db394879d Author: Marius Strobl AuthorDate: 2024-02-05 19:36:13 +0000 Commit: Marius Strobl CommitDate: 2024-04-18 19:41:36 +0000 fib_algo(4): Lower level of algorithm switching messages to LOG_INFO Otherwise, with the default flm_debug_level of LOG_NOTICE, it's rather easy to trigger debug messages such as: [fib_algo] inet.0 (bsearch4#18) rebuild_fd_flm: switching algo to radix4_lockless Also, the "severity" of these events generally only justifies LOG_INFO and not LOG_NOTICE. Reviewed by: melifaro (cherry picked from commit ed81a15517b8a8f587fd7282c3690513bb798242) --- sys/net/route/fib_algo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net/route/fib_algo.c b/sys/net/route/fib_algo.c index 1e37acf620a9..25370f18934f 100644 --- a/sys/net/route/fib_algo.c +++ b/sys/net/route/fib_algo.c @@ -1382,7 +1382,7 @@ rebuild_fd_flm(struct fib_data *fd, struct fib_lookup_module *flm_new) if (flm_new == fd->fd_flm) fd_tmp = fd; else - FD_PRINTF(LOG_NOTICE, fd, "switching algo to %s", flm_new->flm_name); + FD_PRINTF(LOG_INFO, fd, "switching algo to %s", flm_new->flm_name); result = setup_fd_instance(flm_new, fd->fd_rh, fd_tmp, &fd_new, true); if (result != FLM_SUCCESS) {