public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
[parent not found: <9E099FC3-0DD0-4FDC-94D4-3E44CB093DC0@ipfire.org>]
[parent not found: <EFBA494A-FB26-4FA6-87E1-0BE7A3CA154B@ipfire.org>]
[parent not found: <A472F1A4-A3AB-4E37-9445-4517A3C87C12@ipfire.org>]
* [PATCH] update-ipblocklists: remove "<INFO> Skipping" log entries
@ 2024-06-04 20:22 Jon Murphy
  2024-06-05  9:28 ` Michael Tremer
  0 siblings, 1 reply; 7+ messages in thread
From: Jon Murphy @ 2024-06-04 20:22 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 1351 bytes --]

- Remove two <INFO> log entries from message log.

Signed-off-by: Jon Murphy <jon.murphy(a)ipfire.org>
---
 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("<INFO> Skipping $blocklist blocklist - Too frequent update attempts!");
+		# &_log_to_syslog("<INFO> 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("<INFO> Skipping $blocklist blocklist - It has not been modified!");
+			# &_log_to_syslog("<INFO> Skipping $blocklist blocklist - It has not been modified!");
 		} elsif ($return eq "dl_error") {
 			# Log error to the syslog.
 			&_log_to_syslog("<ERROR> Could not update $blocklist blocklist - Download error\!");
-- 
2.30.2


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-06-24 15:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <AAFFDC1D-9A3C-4CB3-8782-E4E608E0074B@ipfire.org>
2024-06-24 15:21 ` [PATCH] update-ipblocklists: remove "<INFO> Skipping" log entries Adolf Belka
     [not found] <9E099FC3-0DD0-4FDC-94D4-3E44CB093DC0@ipfire.org>
2024-06-07 10:40 ` Michael Tremer
     [not found] <EFBA494A-FB26-4FA6-87E1-0BE7A3CA154B@ipfire.org>
2024-06-07  7:40 ` Adolf Belka
     [not found] <A472F1A4-A3AB-4E37-9445-4517A3C87C12@ipfire.org>
2024-06-06 14:55 ` Adolf Belka
2024-06-04 20:22 Jon Murphy
2024-06-05  9:28 ` Michael Tremer
2024-06-05  9:55   ` Adolf Belka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox