Explorar o código

AMBARI-19270. Log successful agent cache update at info level. (Attila Doroszlai via stoader)

Attila Doroszlai %!s(int64=8) %!d(string=hai) anos
pai
achega
e1ce1dfe7b
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      ambari-agent/src/main/python/ambari_agent/FileCache.py

+ 1 - 0
ambari-agent/src/main/python/ambari_agent/FileCache.py

@@ -167,6 +167,7 @@ class FileCache():
             self.invalidate_directory(full_path)
             self.unpack_archive(membuffer, full_path)
             self.write_hash_sum(full_path, remote_hash)
+            logger.info("Updated directory {0}".format(full_path))
           else:
             logger.warn("Skipping empty archive: {0}. "
                         "Expected archive was not found. Cached copy will be used.".format(download_url))