From nobody Mon Feb 05 22:46:30 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 4TTM1f35Hvz59BJn; Mon, 5 Feb 2024 22:46:30 +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 4TTM1f2Jgbz3x95; Mon, 5 Feb 2024 22:46:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707173190; 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=f5YlHSrnTYdxlx+a/iinQswhrN72evZyOhSuXg/K2WE=; b=v+Hr2Mic0y2VJofkt7HEI3xhJjT7m4zNAYg8xc9kJSxvPm0CMqsrauOES5leSsI7YgVCXp jZoHvZm2JAOcWqI+CDOKxkQW0K0gtKpKHrXNiDyBc4Uljqz/GIcAzIEZvQA5Jl0tKof2Kw 6305g8bEGPcex8Z3YIQC7IeTRMFQCGzCOHqy97CW7uH6Oy0pDVfvirlc4uCX4n+bLNyzfd K3mmBYiFwTVs39F6+ftw0SaTONXqLRn5fuIlWGpYoff833xIhKL0VXo8+8/wiQvBvPTToN lp4LIU+x8DwNaIGweK1XfY8rSpcO0Cw4VqoO2QrOtvBW6C5aBOcIWybssy9EOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707173190; 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=f5YlHSrnTYdxlx+a/iinQswhrN72evZyOhSuXg/K2WE=; b=eMRw+oVNlBuO2MaPVlT54g3BHkN3L7FMJFHH+yTo02sLvpOuQ3bTpTOp0ou3KymooVEVtE /BtZEQAFe9Q0/9sxChhxj2onsOsGMkloGk1BmYXX489AwIOLgD8Ghz5lpi//66KIhbx8d+ sX7+lMriwM0z0EnJKr7fveI7qG3OZ7VDqyXEmcWZPyKoZ6z7UDw190oUYmHOkYG6MoUS3c X1CPV4TyDP9H/y8CZI4vQslHmNatnLL2qKemRLSOv4e7j5Ki130t1AVYVI7kzrBa5QytS2 lLWEyfylmRT9DKls9RiSSfsikfOuBFRwWwTPtGfpylRhK6gaAbcPj6LAwfhCxA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707173190; a=rsa-sha256; cv=none; b=hSCmYV+PnoKJxABVwqdTgS04OLe07RRXIyRP/p+Z7oEGdJX9kJbWigfJEy+KNmBm2HC9vQ zn15LvnnG4C7R6YUk3wGYGW3TiiQEpqzbkuWc3fA2rcEvjEKRxutZ9xLgOt4uDgZxAihng 7T+G3oG8Xg5E6bp3O5IWtWTo/vpzTq2JaRdEaVougilDjaEIrmW5DqINzj6GyEJ8Y++qbY PNQ0XPUun67AZjtgJm+3TGbArgGSBBtDrbvIFz0VWzE7fg23iB1sYjfCgHuOqXHKiUzvOa 2L3tTPYOLwFITDkDiGDKhERtbTMGD9nDJ6GrVQlsFsolsCu88gH9xkxiqsGEAw== 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 4TTM1f1PXlzyw2; Mon, 5 Feb 2024 22:46:30 +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 415MkUtj087001; Mon, 5 Feb 2024 22:46:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 415MkUsI086998; Mon, 5 Feb 2024 22:46:30 GMT (envelope-from git) Date: Mon, 5 Feb 2024 22:46:30 GMT Message-Id: <202402052246.415MkUsI086998@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Marius Strobl Subject: git: ed81a15517b8 - main - 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: 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/main X-Git-Reftype: branch X-Git-Commit: ed81a15517b8a8f587fd7282c3690513bb798242 Auto-Submitted: auto-generated The branch main has been updated by marius: URL: https://cgit.FreeBSD.org/src/commit/?id=ed81a15517b8a8f587fd7282c3690513bb798242 commit ed81a15517b8a8f587fd7282c3690513bb798242 Author: Marius Strobl AuthorDate: 2024-02-05 19:36:13 +0000 Commit: Marius Strobl CommitDate: 2024-02-05 22:44:38 +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 --- 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) {