0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

SERVER-54732 Improve cachedir debug logs for validation cachedir tool.

This commit is contained in:
Daniel Moody 2021-04-20 18:03:09 +00:00 committed by Evergreen Agent
parent ae48215538
commit 827f0f0f00

View File

@ -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