Skip to content

Commit

Permalink
[INLONG-8633][SDK] Update debug log level (apache#8634)
Browse files Browse the repository at this point in the history
  • Loading branch information
gunli authored Aug 7, 2023
1 parent ee932fa commit 716cafa
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 @@ -585,7 +585,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 716cafa

Please sign in to comment.