2
0
Эх сурвалжийг харах

Merge pull request #7388 from diivi/feat/log-cache-dir

feat: add cache dir to --debug
TW 2 жил өмнө
parent
commit
437ee97e66
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      src/borg/cache.py

+ 1 - 0
src/borg/cache.py

@@ -262,6 +262,7 @@ class CacheConfig:
     def __init__(self, repository, path=None, lock_wait=None):
         self.repository = repository
         self.path = cache_dir(repository, path)
+        logger.debug("Using %s as cache", self.path)
         self.config_path = os.path.join(self.path, "config")
         self.lock = None
         self.lock_wait = lock_wait