Skip to content

Commit

Permalink
add thread-name. (apache#2209)
Browse files Browse the repository at this point in the history
  • Loading branch information
JaredTan95 authored and wu-sheng committed Jan 25, 2019
1 parent b5b6900 commit 5914a2b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ private String replaceParam(String message, Object... parameters) {
String format(LogLevel level, String message, Throwable t) {
return StringUtil.join(' ', level.name(),
new SimpleDateFormat("yyyy-MM-dd HH:mm:ss:SSS").format(new Date()),
Thread.currentThread().getName(),
targetClass.getSimpleName(),
": ",
message,
Expand Down

0 comments on commit 5914a2b

Please sign in to comment.