##// END OF EJS Templates
fix: fixed logging
super-admin -
r5448:d936c57c default
parent child Browse files
Show More
@@ -148,7 +148,7 b' class FileSystemFanoutCache(BaseCache):'
148 self.retry_attempts = int(self.get_conf('archive_cache.filesystem.retry_attempts', pop=True))
148 self.retry_attempts = int(self.get_conf('archive_cache.filesystem.retry_attempts', pop=True))
149 self.retry_backoff = int(self.get_conf('archive_cache.filesystem.retry_backoff', pop=True))
149 self.retry_backoff = int(self.get_conf('archive_cache.filesystem.retry_backoff', pop=True))
150
150
151 log.debug('Initializing %s archival cache instance under %s', self)
151 log.debug('Initializing %s archival cache instance', self)
152 fs = fsspec.filesystem('file')
152 fs = fsspec.filesystem('file')
153 # check if it's ok to write, and re-create the archive cache main dir
153 # check if it's ok to write, and re-create the archive cache main dir
154 # A directory is the virtual equivalent of a physical file cabinet.
154 # A directory is the virtual equivalent of a physical file cabinet.
@@ -140,7 +140,7 b' class ObjectStoreCache(BaseCache):'
140 key = settings.pop('archive_cache.objectstore.key')
140 key = settings.pop('archive_cache.objectstore.key')
141 secret = settings.pop('archive_cache.objectstore.secret')
141 secret = settings.pop('archive_cache.objectstore.secret')
142
142
143 log.debug('Initializing %s archival cache instance under %s', self)
143 log.debug('Initializing %s archival cache instance', self)
144
144
145 fs = fsspec.filesystem('s3', anon=False, endpoint_url=endpoint_url, key=key, secret=secret)
145 fs = fsspec.filesystem('s3', anon=False, endpoint_url=endpoint_url, key=key, secret=secret)
146
146
General Comments 0
You need to be logged in to leave comments. Login now