summaryrefslogtreecommitdiff
path: root/site_scons
diff options
context:
space:
mode:
authorDaniel Moody <daniel.moody@mongodb.com>2021-04-20 18:03:09 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-04-20 18:44:59 +0000
commit827f0f0f00fedc968120a667c4a35b34d9c13c6f (patch)
tree6534334ae97ef942dd20319174ea9616b2412aee /site_scons
parentae48215538d7ea7e0c0a7d29ef109b2c551878f3 (diff)
downloadmongo-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.py3
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