Skip to content

Commit

Permalink
Merge pull request #933 from wakatime/misc/prefer-debug
Browse files Browse the repository at this point in the history
Prefer debug logs for non errors
  • Loading branch information
alanhamlett authored Sep 15, 2023
2 parents 7d45108 + 36cbf15 commit 87727a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/remote/remote.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ func (c Client) DownloadFileFallback(localFile string) error {
ctx, cancel := context.WithTimeout(context.Background(), defaultTimeoutSecs*time.Second)
defer cancel()

log.Infoln("downloading remote file using fallback option")
log.Debugln("downloading remote file using fallback option")

cmd := exec.CommandContext(ctx, "scp", fmt.Sprintf("%s:%s", c.OriginalHost, c.Path), localFile) // nolint:gosec
cmd.Stderr = os.Stderr
Expand Down

0 comments on commit 87727a1

Please sign in to comment.