mirror of
https://github.com/internetarchive/warcprox.git
synced 2025-01-18 13:22:09 +01:00
fix logging
This commit is contained in:
parent
c5f33bda7a
commit
9d0367b96b
@ -70,7 +70,8 @@ class TroughClient(object):
|
||||
with self._dirty_segments_lock:
|
||||
dirty_segments = list(self._dirty_segments)
|
||||
self._dirty_segments.clear()
|
||||
logging.info('promoting %s trough segments')
|
||||
logging.info(
|
||||
'promoting %s trough segments', len(dirty_segments))
|
||||
for segment in dirty_segments:
|
||||
try:
|
||||
self.promote(segment)
|
||||
|
Loading…
x
Reference in New Issue
Block a user