diff options
author | Daniel Moody <daniel.moody@mongodb.com> | 2021-04-20 18:03:09 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-04-20 18:44:59 +0000 |
commit | 827f0f0f00fedc968120a667c4a35b34d9c13c6f (patch) | |
tree | 6534334ae97ef942dd20319174ea9616b2412aee /site_scons | |
parent | ae48215538d7ea7e0c0a7d29ef109b2c551878f3 (diff) | |
download | mongo-827f0f0f00fedc968120a667c4a35b34d9c13c6f.tar.gz |
SERVER-54732 Improve cachedir debug logs for validation cachedir tool.
Diffstat (limited to 'site_scons')
-rw-r--r-- | site_scons/site_tools/validate_cache_dir.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/site_scons/site_tools/validate_cache_dir.py b/site_scons/site_tools/validate_cache_dir.py index 1f13ca6befb..27b98cc75a9 100644 --- a/site_scons/site_tools/validate_cache_dir.py +++ b/site_scons/site_tools/validate_cache_dir.py @@ -133,6 +133,9 @@ class CacheDirValidate(SCons.CacheDir.CacheDir): self.print_cache_issue(node, str(ex)) return False + def CacheDebug(self, fmt, target, cachefile): + super().CacheDebug(fmt, target, cachefile + self.get_ext()) + def print_cache_issue(self, node, msg): cksum_dir = pathlib.Path(self.cachepath(node)[1]).parent |