Browse Source

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

Attila Doroszlai 8 years ago
parent
commit
e1ce1dfe7b
1 changed files with 1 additions and 0 deletions
  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))