Parcourir la source

remove some superfluous / duplicate log messages

Thomas Waldmann il y a 9 ans
Parent
commit
4c6be00d65
1 fichiers modifiés avec 0 ajouts et 2 suppressions
  1. 0 2
      borg/cache.py

+ 0 - 2
borg/cache.py

@@ -43,7 +43,6 @@ class Cache:
         self.manifest = manifest
         self.manifest = manifest
         self.path = path or os.path.join(get_cache_dir(), hexlify(repository.id).decode('ascii'))
         self.path = path or os.path.join(get_cache_dir(), hexlify(repository.id).decode('ascii'))
         self.do_files = do_files
         self.do_files = do_files
-        logger.info('initializing cache')
         # Warn user before sending data to a never seen before unencrypted repository
         # Warn user before sending data to a never seen before unencrypted repository
         if not os.path.exists(self.path):
         if not os.path.exists(self.path):
             if warn_if_unencrypted and isinstance(key, PlaintextKey):
             if warn_if_unencrypted and isinstance(key, PlaintextKey):
@@ -71,7 +70,6 @@ class Cache:
             # Make sure an encrypted repository has not been swapped for an unencrypted repository
             # Make sure an encrypted repository has not been swapped for an unencrypted repository
             if self.key_type is not None and self.key_type != str(key.TYPE):
             if self.key_type is not None and self.key_type != str(key.TYPE):
                 raise self.EncryptionMethodMismatch()
                 raise self.EncryptionMethodMismatch()
-            logger.info('synchronizing cache')
             self.sync()
             self.sync()
             self.commit()
             self.commit()