Skip to content

Commit

Permalink
Change ignoring empty line to debug logging. (#2343)
Browse files Browse the repository at this point in the history
Signed-off-by: Johnathan Falk <johnathan.falk@gmail.com>
  • Loading branch information
jdfalk authored Jul 13, 2020
1 parent 2561605 commit 0ace187
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/docker-driver/loki.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func New(logCtx logger.Info, logger log.Logger) (logger.Logger, error) {
// Log implements `logger.Logger`
func (l *loki) Log(m *logger.Message) error {
if len(bytes.Fields(m.Line)) == 0 {
level.Info(l.logger).Log("msg", "ignoring empty line", "line", string(m.Line))
level.Debug(l.logger).Log("msg", "ignoring empty line", "line", string(m.Line))
return nil
}
lbs := l.labels.Clone()
Expand Down

0 comments on commit 0ace187

Please sign in to comment.