fix: fixed logging
This commit is contained in:
parent
eab897ac5c
commit
b965526856
2 changed files with 2 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue