Skip to content

Commit

Permalink
Removes docker driver empty log line message (#4396)
Browse files Browse the repository at this point in the history
Closes #3384
  • Loading branch information
owen-d authored Sep 30, 2021
1 parent 2516347 commit 0f10a54
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions clients/cmd/docker-driver/loki.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (

"github.com/docker/docker/daemon/logger"
"github.com/go-kit/kit/log"
"github.com/go-kit/kit/log/level"
"github.com/pkg/errors"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/common/model"
Expand Down Expand Up @@ -72,7 +71,6 @@ func (l *loki) Log(m *logger.Message) error {
}

if len(bytes.Fields(m.Line)) == 0 {
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 0f10a54

Please sign in to comment.