Explorar o código

feat: add cache dir to --debug

Divyansh Singh %!s(int64=2) %!d(string=hai) anos
pai
achega
7dd186ccf3
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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