Skip to content

Commit

Permalink
[INLONG-8633][DataProxy][Golang SDK] Update debug log level
Browse files Browse the repository at this point in the history
  • Loading branch information
gunli committed Aug 4, 2023
1 parent 2fc03b4 commit 34b98c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ func (w *worker) handleRsp(rsp batchRsp) {
batchID := rsp.batchID
batch, ok := w.unackedBatches[batchID]
if !ok {
w.log.Warn("worker[", w.index, "] batch not found in unackedBatches map:", batchID, ", send time:", rsp.dt, ", now:", time.Now().UnixMilli())
w.log.Debug("worker[", w.index, "] batch not found in unackedBatches map:", batchID, ", send time:", rsp.dt, ", now:", time.Now().UnixMilli())
w.metrics.incError(errNoMatchReq4Rsp.strCode)
return
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ type stdLogger struct {
}

func (s stdLogger) Debug(args ...interface{}) {
fmt.Println(args...)
// fmt.Println(args...)
}

func (s stdLogger) Info(args ...interface{}) {
Expand Down

0 comments on commit 34b98c5

Please sign in to comment.