From nobody Thu Apr 18 19:37:10 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 4VL7MV6NNSz5HRwW; Thu, 18 Apr 2024 19:37:10 +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 4VL7MV5pVxz4FPl; Thu, 18 Apr 2024 19:37:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713469030; 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=vFI1+cc97hEmu6NeZGD3pjALlAz5FTtSEfRoctvch9I=; b=MNuR3gP7fpc71H82l6WaJQbmNLvVHerhhAa8eHpJ2EIYclZOluXQe2F9GYlbeatKCMKIqC mIb7IA5nqWhFiD1TMXAsP2/zPzJOEXYGLl/S09h/3ex7Y3PVrrCzlIqbH3MsF11eYnO8xu 6LHAlL7RVOEBrFxG87w3oetF4ktVhIz/KgGNq6s3LQTVykEMKmBWZs9IaK+kQ0jIjHEihN o/aQyul9exCmhq38MsTsfz7F/cKUBgGlLpqEhu0ChpSjJl4eH6S19/huFVF3Y6+X+D39NV 1TujOlygfnQBPfFH1gJXPu1+On31QnZEwfwhq0X67eF7i9cFEMX8PAmy++s5nA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713469030; a=rsa-sha256; cv=none; b=HkrNQ+n4jK4VWIQF8HZXzk4unXvOP4exhAhdEefNIuMh30NkY1yoZNwLRovUxhfpwBbKY7 hUjM/8K9r1jKvajEW0jP4QoDy+elmFerxTy/6VzHccgHEB4XnvbO4MSeBP79azK6heEmw+ cQVFI1XPyky8eKIJ/2FHoS1G5iahF6KruYmY2JMHr7c1JXbVABAR0p4EHRHQOOADZtrmZ7 Obb4VNJ6uI0ZOQ4AZvJe4D+ttmxXNwqIL2Hgr90xQxBGMY/iG84O8EKy55imOmtSaurIj+ AstIkiGpSoXRrRABPdj3vElwLX9r7AZ+3i9GcIGISZDUybZiQpVGrfSRdNq1Hw== 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=1713469030; 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=vFI1+cc97hEmu6NeZGD3pjALlAz5FTtSEfRoctvch9I=; b=mA57BHfscg5J/gExatjUcdNGz8vmDNpfo/QXw0zy0jEad/OGR7AwR6n2tolIQyOJyj6PU/ AsrET2odHjM+kMwIJeMTDCz/NydUOKfOyghtYnI+mSO7tVmotdNptR2AX+ZNmmd/KpCNlS nwmbwh/OWs8ICstDe5rsilei3SStcIotEYEu8zfDSh38M92GrzwTZ9l7zU3Gw0nlpBm/c+ jGH7uMpkzY2x7Kvt7vDk5dyyhwuW4bpCpVo7AJiIXgVvx0YWrmpPBuy2y9j+xCzR2WQUj4 pcsfUJmbgOKDH5cGa5RBbTwGg/EQOVkkv0MldFccZVHgIlxqQtqDz7CCSDTAmQ== 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 4VL7MV5J9dzNMW; Thu, 18 Apr 2024 19:37:10 +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 43IJbAZw053753; Thu, 18 Apr 2024 19:37:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43IJbArP053750; Thu, 18 Apr 2024 19:37:10 GMT (envelope-from git) Date: Thu, 18 Apr 2024 19:37:10 GMT Message-Id: <202404181937.43IJbArP053750@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: 954bb7642175 - stable/14 - 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/14 X-Git-Reftype: branch X-Git-Commit: 954bb76421759e9cacd89d44cfd49ca27404bd29 Auto-Submitted: auto-generated The branch stable/14 has been updated by marius: URL: https://cgit.FreeBSD.org/src/commit/?id=954bb76421759e9cacd89d44cfd49ca27404bd29 commit 954bb76421759e9cacd89d44cfd49ca27404bd29 Author: Marius Strobl AuthorDate: 2024-02-05 19:36:13 +0000 Commit: Marius Strobl CommitDate: 2024-04-18 19:30:33 +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) {