From patchwork Tue Jun 4 20:22:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: jon X-Patchwork-Id: 7844 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384 client-signature ECDSA (secp384r1) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4Vv28y1fq8z3wxG for ; Tue, 4 Jun 2024 20:23:14 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature ECDSA (secp384r1)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4Vv28q17YYztw; Tue, 4 Jun 2024 20:23:07 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4Vv28p6C4Sz33DQ; Tue, 4 Jun 2024 20:23:06 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature ECDSA (secp384r1)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4Vv28m0C6Gz33DB for ; Tue, 4 Jun 2024 20:23:04 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4Vv28k6Nqmz12x; Tue, 4 Jun 2024 20:23:02 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1717532583; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=lLNeWpwK9HH7cm9I89wApoUP7CNHnJF52kwrtkwvwiM=; b=twuRq8vBZc4d0gk9sApe72pPUkLe757cCHMb4VPMvgCBTGkikUF00pcjkLnVnEFRZJHSP4 nLWm8oYXkx5R2UAA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1717532583; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=lLNeWpwK9HH7cm9I89wApoUP7CNHnJF52kwrtkwvwiM=; b=YKFeE+fVJRLCMgSUr7Re+0E9AhqBy8mEI1I8RwRVJo931zqTyjX4Sfme2MDIkFPHKZ0vRY azhMJ1XtcOXyBodZx9EFnArdgYWNIKdzSEgMqEWWrQDCeVL4hZXsUTfTUXsF5R61mWeIQs 2bFQ776E3T++qWY04VDddTrZH/oxWBhzkkwuWpfx/KtanGBJFY0n3INBShOfMYVbTMyiNJ BVXm6pqoz3DRFQ3Uh28sdQpLVhHFEe16/JT1HqvsK/2H64T39V6nY8WVOUd4z3FUEsIFUU ZtNhKKKbjB8P4EvVZwFzhQ5F7R+YuuGgWi7srWk4LrWQPVNmGXaV3ihO4uqaWA== From: Jon Murphy To: development@lists.ipfire.org Subject: [PATCH] update-ipblocklists: remove " Skipping" log entries Date: Tue, 4 Jun 2024 15:22:53 -0500 Message-Id: <20240604202253.3546966-1-jon.murphy@ipfire.org> MIME-Version: 1.0 Message-ID-Hash: RIR2YS34C3SWUSHQCKSWXBH4O5NCQRFF X-Message-ID-Hash: RIR2YS34C3SWUSHQCKSWXBH4O5NCQRFF X-MailFrom: jon.murphy@ipfire.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: IPFire development talk Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: - Remove two log entries from message log. Signed-off-by: Jon Murphy --- src/scripts/update-ipblocklists | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/update-ipblocklists b/src/scripts/update-ipblocklists index a17b47999..dddde8d27 100644 --- a/src/scripts/update-ipblocklists +++ b/src/scripts/update-ipblocklists @@ -86,7 +86,7 @@ foreach my $blocklist (@blocklists) { # Check if enough time has passed since the last download of the list. if ($time <= $holdoff_time) { # To frequent updates, log to syslog. - &_log_to_syslog(" Skipping $blocklist blocklist - Too frequent update attempts!"); + # &_log_to_syslog(" Skipping $blocklist blocklist - Too frequent update attempts!"); # Skip this provider. next; @@ -100,7 +100,7 @@ foreach my $blocklist (@blocklists) { # Handle different return codes. if ($return eq "not_modified") { # Log notice to syslog. - &_log_to_syslog(" Skipping $blocklist blocklist - It has not been modified!"); + # &_log_to_syslog(" Skipping $blocklist blocklist - It has not been modified!"); } elsif ($return eq "dl_error") { # Log error to the syslog. &_log_to_syslog(" Could not update $blocklist blocklist - Download error\!");