Skip to content

Commit 3ac1e5a

Browse files
authored
Logging format (#291)
1 parent c06bbbb commit 3ac1e5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service/history/shardContext.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ func (s *shardContextImpl) allocateTimerIDsLocked(timerTasks []persistence.Task)
409409
if ts.Before(s.shardInfo.TimerAckLevel) {
410410
// This is not a common scenario, the shard can move and new host might have a time SKU.
411411
// We generate a new timer ID that is above the ack level with an offset.
412-
s.logger.Warn("%v: New timer generated is less than ack level. timestamp: %v, ackLevel: %v",
412+
s.logger.Warnf("%v: New timer generated is less than ack level. timestamp: %v, ackLevel: %v",
413413
time.Now(), ts, s.shardInfo.TimerAckLevel)
414414
newTimestamp := s.shardInfo.TimerAckLevel
415415
persistence.SetVisibilityTSFrom(task, newTimestamp.Add(time.Second))

0 commit comments

Comments
 (0)