From 41e3e64472072a46283200cbb661a3eb061a8966 Mon Sep 17 00:00:00 2001 From: Huang Huang Date: Sun, 22 May 2022 12:44:07 +0800 Subject: [PATCH] use log instead of print (#1186) --- cmd/common.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/common.go b/cmd/common.go index 20e258a..cf29794 100644 --- a/cmd/common.go +++ b/cmd/common.go @@ -133,7 +133,7 @@ func generateDefaultEnvAudit(controls *check.Controls, binSubs []string) { if len(binSubs) == 1 { binPath = binSubs[0] } else { - fmt.Printf("AuditEnv not explicit for check (%s), where bin path cannot be determined\n", checkItem.ID) + glog.V(1).Infof("AuditEnv not explicit for check (%s), where bin path cannot be determined", checkItem.ID) } if test.Env != "" && checkItem.AuditEnv == "" {