Skip to content

Commit

Permalink
修复 日志打印 不显示占位符字符串问题
Browse files Browse the repository at this point in the history
  • Loading branch information
everhopingandwaiting committed Dec 28, 2018
1 parent a0739f8 commit 29c2b5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/me/zhengjie/monitor/config/LogFilter.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public FilterReply decide(ILoggingEvent event) {
}
}
LogMessage loggerMessage = new LogMessage(
event.getMessage()
event.getFormattedMessage() /* repair format message*/
, DateFormat.getDateTimeInstance().format(new Date(event.getTimeStamp())),
event.getThreadName(),
event.getLoggerName(),
Expand Down

0 comments on commit 29c2b5f

Please sign in to comment.