From bb5b564546f4b67cb0200b8fef787df43745c2a8 Mon Sep 17 00:00:00 2001
From: Alan De Smet <alan.desmet@ssec.wisc.edu>
Date: Fri, 6 Aug 2021 14:48:59 -0500
Subject: [PATCH] some INFO level logs about download status
---
csppfetch/__init__.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/csppfetch/__init__.py b/csppfetch/__init__.py
index c054147..04cad6b 100644
--- a/csppfetch/__init__.py
+++ b/csppfetch/__init__.py
@@ -753,10 +753,13 @@ class Downloader:
last_problem = problem
for attempt in range(1, retries+1):
+ if retries > 1:
+ logging.info(f"Attempt {attempt}")
for fileset in filesets:
description = fileset.description
expected = fileset.expected
urls_to_files = fileset.urls_to_files
+ logging.info(f"Working on {description}")
for base_url in base_urls:
full_urls_to_file = {base_url+suffix: dst+"/"+value for suffix,value in urls_to_files.items()}
--
GitLab