diff --git a/logging/src/main/java/org/apache/rocketmq/logging/inner/LoggingBuilder.java b/logging/src/main/java/org/apache/rocketmq/logging/inner/LoggingBuilder.java index f457a69567626f3a8c9b4e852e877976b07d9a13..3ec440bc882bb55b014d567bda8f8447a338955d 100644 --- a/logging/src/main/java/org/apache/rocketmq/logging/inner/LoggingBuilder.java +++ b/logging/src/main/java/org/apache/rocketmq/logging/inner/LoggingBuilder.java @@ -1201,7 +1201,7 @@ public class LoggingBuilder { public String format(LoggingEvent event) { StringBuilder sb = new StringBuilder(); - SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss,sss"); + SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss,SSS"); String format = simpleDateFormat.format(new Date(event.timeStamp)); sb.append(format); sb.append(" ");