Merge pull request #705 from aluzzardi/stderr-info

log stderr output as INFO
This commit is contained in:
Andrea Luzzardi 2021-06-22 14:04:19 +02:00 committed by GitHub
commit d978692ccd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
},
)
}