From de48bb2f55767b4f4715025e78aa00a70de6cd54 Mon Sep 17 00:00:00 2001 From: Ivan Velasco Date: Sat, 23 Nov 2024 21:36:23 -0600 Subject: [PATCH] UX: info log level moved to debug Signed-off-by: Ivan Velasco --- process_files.go | 2 +- process_testcase.go | 2 +- process_testsuite.go | 2 +- venom.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/process_files.go b/process_files.go index afd93710..a4908441 100644 --- a/process_files.go +++ b/process_files.go @@ -63,7 +63,7 @@ func uniq(stringSlice []string) []string { func (v *Venom) readFiles(ctx context.Context, filesPath []string) (err error) { for _, filePath := range filesPath { - Info(ctx, "Reading %v", filePath) + Debug(ctx, "Reading %v", filePath) btes, err := os.ReadFile(filePath) if err != nil { return errors.Wrapf(err, "unable to read file %q", filePath) diff --git a/process_testcase.go b/process_testcase.go index e7fa0a78..69d4c7a1 100644 --- a/process_testcase.go +++ b/process_testcase.go @@ -346,7 +346,7 @@ loopRawTestSteps: var isRequired bool if tsResult.Status != StatusFail { - Warn(ctx, "Step %q result is %q", tsResult.Name, tsResult.Status) + Info(ctx, "Step %q result is %q", tsResult.Name, tsResult.Status) } if tsResult.Status == StatusFail { diff --git a/process_testsuite.go b/process_testsuite.go index 0b9c9267..9a9a8170 100644 --- a/process_testsuite.go +++ b/process_testsuite.go @@ -100,7 +100,7 @@ func (v *Venom) runTestSuite(ctx context.Context, ts *TestSuite) error { } func (v *Venom) runTestCases(ctx context.Context, ts *TestSuite) { - verboseReport := v.Verbose >= 1 + verboseReport := v.Verbose > 1 v.Println(" • %s (%s)", ts.Name, ts.Filepath) diff --git a/venom.go b/venom.go index c163a921..f1367ec0 100644 --- a/venom.go +++ b/venom.go @@ -224,7 +224,7 @@ func (v *Venom) registerUserExecutors(ctx context.Context, name string, vars map } for _, f := range executorsPath { - Info(ctx, "Reading %v", f) + Debug(ctx, "Reading %v", f) btes, ok := v.executorFileCache[f] if !ok { btes, err = os.ReadFile(f)