Repository: ambari Updated Branches: refs/heads/trunk 47a988245 -> 564b8f775
AMBARI-19270. Log successful agent cache update at info level. (Attila Doroszlai via stoader) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/564b8f77 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/564b8f77 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/564b8f77 Branch: refs/heads/trunk Commit: 564b8f775959670259693c064b6d9025aec40760 Parents: 47a9882 Author: Attila Doroszlai <[email protected]> Authored: Fri Dec 23 13:16:18 2016 +0100 Committer: Toader, Sebastian <[email protected]> Committed: Fri Dec 23 13:16:18 2016 +0100 ---------------------------------------------------------------------- ambari-agent/src/main/python/ambari_agent/FileCache.py | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/564b8f77/ambari-agent/src/main/python/ambari_agent/FileCache.py ---------------------------------------------------------------------- diff --git a/ambari-agent/src/main/python/ambari_agent/FileCache.py b/ambari-agent/src/main/python/ambari_agent/FileCache.py index a9ea8f6..0cd629b 100644 --- a/ambari-agent/src/main/python/ambari_agent/FileCache.py +++ b/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))
