Skip to content

Commit

Permalink
Merge pull request #705 from aluzzardi/stderr-info
Browse files Browse the repository at this point in the history
log stderr output as INFO
  • Loading branch information
aluzzardi committed Jun 22, 2021
2 parents 83019a5 + 4d9ef37 commit d978692
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,16 +251,9 @@ func (c *Client) logSolveStatus(ctx context.Context, st *state.State, ch chan *b
Logger()

msg := secureSprintf(format, a...)
switch stream {
case 1:
lg.
Info().
Msg(msg)
case 2:
lg.
Error().
Msg(msg)
}
lg.
Info().
Msg(msg)
},
)
}

0 comments on commit d978692

Please sign in to comment.