Repository: ambari Updated Branches: refs/heads/branch-2.5 cf708d65d -> e1ce1dfe7
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/e1ce1dfe Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/e1ce1dfe Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/e1ce1dfe Branch: refs/heads/branch-2.5 Commit: e1ce1dfe7bae68c9d17b84af835f33c452df7abc Parents: cf708d6 Author: Attila Doroszlai <adorosz...@hortonworks.com> Authored: Fri Dec 23 13:16:18 2016 +0100 Committer: Toader, Sebastian <stoa...@hortonworks.com> Committed: Fri Dec 23 13:18:28 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/e1ce1dfe/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))