Skip to content

Commit bcf9e57

Browse files
authored
Client error log level (#2701)
1 parent 659c052 commit bcf9e57

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client/history/metricClient.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ func (c *metricClient) finishMetricsRecording(
635635
*serviceerror.WorkflowExecutionAlreadyStarted:
636636
// noop - not interest and too many logs
637637
default:
638-
c.throttledLogger.Error("history client encountered error", tag.Error(err), tag.ErrorType(err))
638+
c.throttledLogger.Info("history client encountered error", tag.Error(err), tag.ErrorType(err))
639639
}
640640
scope.Tagged(metrics.ServiceErrorTypeTag(err)).IncCounter(metrics.ClientFailures)
641641
}

client/matching/metricClient.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ func (c *metricClient) finishMetricsRecording(
265265
// noop - not interest and too many logs
266266
default:
267267

268-
c.throttledLogger.Error("matching client encountered error", tag.Error(err), tag.ErrorType(err))
268+
c.throttledLogger.Info("matching client encountered error", tag.Error(err), tag.ErrorType(err))
269269
}
270270
scope.Tagged(metrics.ServiceErrorTypeTag(err)).IncCounter(metrics.ClientFailures)
271271
}

0 commit comments

Comments
 (0)