# HG changeset patch # User RhodeCode Admin # Date 2024-06-19 11:14:05 # Node ID d936c57c9462d92e381a16fd05f35b375765e65f # Parent ba9c215d911556a70cda08a5c5d2b8cd2a6a4b57 fix: fixed logging diff --git a/rhodecode/lib/archive_cache/backends/fanout_cache.py b/rhodecode/lib/archive_cache/backends/fanout_cache.py --- a/rhodecode/lib/archive_cache/backends/fanout_cache.py +++ b/rhodecode/lib/archive_cache/backends/fanout_cache.py @@ -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. diff --git a/rhodecode/lib/archive_cache/backends/objectstore_cache.py b/rhodecode/lib/archive_cache/backends/objectstore_cache.py --- a/rhodecode/lib/archive_cache/backends/objectstore_cache.py +++ b/rhodecode/lib/archive_cache/backends/objectstore_cache.py @@ -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)