From: Simon Glass Date: Tue, 18 Jul 2023 13:24:09 +0000 (-0600) Subject: binman: Reduce state.SetInt and bintool cmd to debug level X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=24142ead21ed5e4d2d6f39dd410d91d815ea1ae2;p=u-boot.git binman: Reduce state.SetInt and bintool cmd to debug level These are not very important message. Change them to use the 'debug' level instead of 'detail'. Signed-off-by: Simon Glass --- diff --git a/tools/binman/bintool.py b/tools/binman/bintool.py index 81629683df..0b0f56dbbb 100644 --- a/tools/binman/bintool.py +++ b/tools/binman/bintool.py @@ -288,7 +288,7 @@ class Bintool: name = os.path.expanduser(self.name) # Expand paths containing ~ all_args = (name,) + args env = tools.get_env_with_path() - tout.detail(f"bintool: {' '.join(all_args)}") + tout.debug(f"bintool: {' '.join(all_args)}") result = command.run_pipe( [all_args], capture=True, capture_stderr=True, env=env, raise_on_error=False, binary=binary) diff --git a/tools/binman/state.py b/tools/binman/state.py index 3e78cf3430..45bae40c52 100644 --- a/tools/binman/state.py +++ b/tools/binman/state.py @@ -385,8 +385,8 @@ def SetInt(node, prop, value, for_repack=False): for_repack: True is this property is only needed for repacking """ for n in GetUpdateNodes(node, for_repack): - tout.detail("File %s: Update node '%s' prop '%s' to %#x" % - (n.GetFdt().name, n.path, prop, value)) + tout.debug("File %s: Update node '%s' prop '%s' to %#x" % + (n.GetFdt().name, n.path, prop, value)) n.SetInt(prop, value) def CheckAddHashProp(node):