mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-24 16:55:36 +00:00
Merge pull request #7388 from diivi/feat/log-cache-dir
feat: add cache dir to --debug
This commit is contained in:
commit
437ee97e66
1 changed files with 1 additions and 0 deletions
|
@ -262,6 +262,7 @@ class CacheConfig:
|
||||||
def __init__(self, repository, path=None, lock_wait=None):
|
def __init__(self, repository, path=None, lock_wait=None):
|
||||||
self.repository = repository
|
self.repository = repository
|
||||||
self.path = cache_dir(repository, path)
|
self.path = cache_dir(repository, path)
|
||||||
|
logger.debug("Using %s as cache", self.path)
|
||||||
self.config_path = os.path.join(self.path, "config")
|
self.config_path = os.path.join(self.path, "config")
|
||||||
self.lock = None
|
self.lock = None
|
||||||
self.lock_wait = lock_wait
|
self.lock_wait = lock_wait
|
||||||
|
|
Loading…
Reference in a new issue