log level updates

pull/312/head
msramalho 2025-06-17 20:36:33 +01:00
rodzic 23b781c866
commit a3ae9ebbb3
Nie znaleziono w bazie danych klucza dla tego podpisu
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -58,7 +58,7 @@ class TimestampingEnricher(Enricher):
]
if not len(hashes):
logger.warning(f"No hashes found in {url=}")
logger.debug(f"No hashes found in {url=}")
return
@ -101,7 +101,7 @@ class TimestampingEnricher(Enricher):
hashes_media.set("cryptography v", version("cryptography"))
to_enrich.add_media(hashes_media, id="timestamped_hashes")
to_enrich.set("timestamped", True)
logger.success(f"{len(timestamp_tokens)} timestamp tokens created for {url=}")
logger.info(f"{len(timestamp_tokens)} timestamp tokens created for {url=}")
else:
logger.warning(f"No successful timestamps for {url=}")