Skip to content

Commit

Permalink
log stderr output as INFO
Browse files Browse the repository at this point in the history
Fixes #241

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
  • Loading branch information
aluzzardi committed Jun 22, 2021
1 parent 656b010 commit 4d9ef37
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions client/client.go
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 4d9ef37

Please sign in to comment.