This is an automated email from the ASF dual-hosted git repository.

tanjian pushed a commit to branch wu-sheng-patch-2
in repository https://gitbox.apache.org/repos/asf/incubator-skywalking.git


The following commit(s) were added to refs/heads/wu-sheng-patch-2 by this push:
     new 5914a2b  add thread-name. (#2209)
     new 344e632  Merge branch 'master' into wu-sheng-patch-2
5914a2b is described below

commit 5914a2b582236581c4073830eaa434475fcbe004
Author: Jared Tan <jian....@daocloud.io>
AuthorDate: Fri Jan 25 23:21:47 2019 +0800

    add thread-name. (#2209)
---
 .../org/apache/skywalking/apm/agent/core/logging/core/EasyLogger.java    | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/logging/core/EasyLogger.java
 
b/apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/logging/core/EasyLogger.java
index 4a21173..7d25099 100644
--- 
a/apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/logging/core/EasyLogger.java
+++ 
b/apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/logging/core/EasyLogger.java
@@ -67,6 +67,7 @@ public class EasyLogger implements ILog {
     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,

Reply via email to