From 5d8fbf7038f8e419322effc2a678a0a145c35fa2 Mon Sep 17 00:00:00 2001
From: Barbara Miller <galgeek@me.com>
Date: Wed, 29 Dec 2021 10:25:04 -0800
Subject: [PATCH] fix logging buglet

---
 warcprox/dedup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/warcprox/dedup.py b/warcprox/dedup.py
index 43286d7..167fdba 100644
--- a/warcprox/dedup.py
+++ b/warcprox/dedup.py
@@ -437,7 +437,7 @@ class BatchTroughLoader(warcprox.BaseBatchPostfetchProcessor):
             else:
                 if hash_plus_url in hash_plus_urls:
                     self.logger.debug(
-                        'discarding duplicate and setting do_not_archive for %, hash %'.format(
+                        'discarding duplicate and setting do_not_archive for %s, hash %s'.format(
                             recorded_url.url, payload_hash))
                     recorded_url.do_not_archive = True
                 discards.append(payload_hash)