Skip to content

Commit b39f6c5

Browse files
committed
Suppress command logging by default
Log to debug instead of info so that this isn't printed to the Info column of CLI display by default. Fixes #29.
1 parent 92704cb commit b39f6c5

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

provider/pkg/provider/command.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ func copyOutput(ctx context.Context, host *provider.HostClient, urn resource.URN
138138
defer close(doneCh)
139139
scanner := bufio.NewScanner(r)
140140
for scanner.Scan() {
141-
err := host.Log(ctx, diag.Info, urn, scanner.Text())
141+
err := host.Log(ctx, diag.Debug, urn, scanner.Text())
142142
if err != nil {
143143
return
144144
}

tests/go.mod

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)