aboutsummaryrefslogtreecommitdiffstats
path: root/fw-addr-lists.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-04-04 19:37:38 +0200
committerGravatar Christian Hesse <mail@eworm.de>2024-04-07 22:44:34 +0200
commitaf6556bdba9d68174b45561215ea3be2e098e349 (patch)
treecef8badba159d6facb790a5e0c5628e21fd5b88f /fw-addr-lists.rsc
parent4b6d0c02f134f4c6535d4df44016dc9ae2ae5db2 (diff)
fw-addr-lists: add debug message on successful download
Diffstat (limited to 'fw-addr-lists.rsc')
-rw-r--r--fw-addr-lists.rsc3
1 files changed, 3 insertions, 0 deletions
diff --git a/fw-addr-lists.rsc b/fw-addr-lists.rsc
index 7e7ee38..5cdd379 100644
--- a/fw-addr-lists.rsc
+++ b/fw-addr-lists.rsc
@@ -20,6 +20,7 @@
:global CertificateAvailable;
:global EitherOr;
:global FetchHuge;
+ :global HumanReadableNum;
:global LogPrint;
:global LogPrintOnce;
:global ScriptLock;
@@ -77,6 +78,8 @@
:set Data "";
:set Failure true;
$LogPrint warning $ScriptName ("Failed downloading list from: " . $List->"url");
+ } else={
+ $LogPrint debug $ScriptName ("Downloaded " . [ $HumanReadableNum [ :len $Data ] 1024 ] . "B from: " . $List->"url");
}
:while ([ :len $Data ] != 0) do={