fix: fixed logging

This commit is contained in:
RhodeCode Admin 2024-06-19 13:14:05 +02:00
parent eab897ac5c
commit b965526856
2 changed files with 2 additions and 2 deletions

View file

@ -148,7 +148,7 @@ class FileSystemFanoutCache(BaseCache):
self.retry_attempts = int(self.get_conf('archive_cache.filesystem.retry_attempts', pop=True))
self.retry_backoff = int(self.get_conf('archive_cache.filesystem.retry_backoff', pop=True))
log.debug('Initializing %s archival cache instance under %s', self)
log.debug('Initializing %s archival cache instance', self)
fs = fsspec.filesystem('file')
# check if it's ok to write, and re-create the archive cache main dir
# A directory is the virtual equivalent of a physical file cabinet.

View file

@ -140,7 +140,7 @@ class ObjectStoreCache(BaseCache):
key = settings.pop('archive_cache.objectstore.key')
secret = settings.pop('archive_cache.objectstore.secret')
log.debug('Initializing %s archival cache instance under %s', self)
log.debug('Initializing %s archival cache instance', self)
fs = fsspec.filesystem('s3', anon=False, endpoint_url=endpoint_url, key=key, secret=secret)