Skip to content
This repository was archived by the owner on Aug 6, 2025. It is now read-only.

Commit 15f5f7f

Browse files
authored
Add some logs (#4)
1 parent 13319ae commit 15f5f7f

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

core/processor.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,23 @@ def __init__(
4747
self._extractor = extractor.Extractor(self._logger, archive_path)
4848
self._parallel = parallel
4949

50+
self._logger.debug('Initialized', parallel=self._parallel)
51+
5052
def process(self):
5153
"""
5254
Processing given archive and pushes the images it contains to the registry
5355
"""
5456
start_time = time.time()
55-
self._logger.info(
56-
'Processing archive', archive_path=self._extractor.archive_path
57-
)
5857
results = []
5958
with tempfile.TemporaryDirectory() as tmp_dir_name:
6059

60+
self._logger.info(
61+
'Processing archive',
62+
archive_path=self._extractor.archive_path,
63+
parallel=self._parallel,
64+
tmp_dir_name=tmp_dir_name,
65+
)
66+
6167
# extract the whole thing
6268
self._extractor.extract_all(tmp_dir_name)
6369

0 commit comments

Comments
 (0)