ROCm SMI CLI: Hide Failed Command Warning

The purpose of this patch is to hide 'One or more commands failed.'
from showing up, unless an appropriate log level has been set.

You can set the loglevel in the CLI with:
--loglevel <debug/info/warning/error/critical>

Signed-off-by: Ori Messinger <Ori.Messinger@amd.com>
Change-Id: Ifa309cd62596491a6ea5892e0752251f037fc0e9


[ROCm/rocm_smi_lib commit: 007f326c34]
Tá an tiomantas seo le fáil i:
Ori Messinger
2022-01-25 11:47:52 -05:00
tuismitheoir f4ad11bc29
tiomantas 9d6285f6c8
+1 -1
Féach ar an gComhad
@@ -3223,7 +3223,7 @@ if __name__ == '__main__':
print(devCsv)
if RETCODE and not PRINT_JSON:
logging.warning(' \t\t One or more commands failed')
logging.debug(' \t\t One or more commands failed.')
printLogSpacer(footerString)
rsmi_ret_ok(rocmsmi.rsmi_shut_down())