diff --git a/src/main/java/neatlogic/module/tenant/api/healthcheck/ThreadDumpApi.java b/src/main/java/neatlogic/module/tenant/api/healthcheck/ThreadDumpApi.java
index 7d81706bdd9d4db5d8e3ee1ec8a391ab9b4bfe26..03ba8e8742ad9aa3052c3ee8f8ec64453eb0df1c 100644
--- a/src/main/java/neatlogic/module/tenant/api/healthcheck/ThreadDumpApi.java
+++ b/src/main/java/neatlogic/module/tenant/api/healthcheck/ThreadDumpApi.java
@@ -15,14 +15,15 @@ along with this program. If not, see .*/
package neatlogic.module.tenant.api.healthcheck;
+import com.alibaba.fastjson.JSONObject;
import neatlogic.framework.asynchronization.threadlocal.RequestContext;
import neatlogic.framework.auth.core.AuthAction;
import neatlogic.framework.auth.label.ADMIN;
+import neatlogic.framework.common.config.Config;
import neatlogic.framework.restful.annotation.Description;
import neatlogic.framework.restful.annotation.OperationType;
import neatlogic.framework.restful.constvalue.OperationTypeEnum;
import neatlogic.framework.restful.core.privateapi.PrivateApiComponentBase;
-import com.alibaba.fastjson.JSONObject;
import org.springframework.stereotype.Service;
import java.io.IOException;
@@ -59,7 +60,7 @@ public class ThreadDumpApi extends PrivateApiComponentBase {
private static void dumpTraces(ThreadMXBean mxBean, Map threadInfoMap, Writer writer) throws IOException {
Map stacks = Thread.getAllStackTraces();
long now = System.currentTimeMillis();
- writer.write("=================" + stacks.size() + " thread of " + RequestContext.get().getRequest().getLocalAddr() + " at " + new SimpleDateFormat("yyyy/MM/dd HH:mm:ss z").format(new Date(now)) + " start.=================\n\n");
+ writer.write("=================" + stacks.size() + " thread of " + RequestContext.get().getRequest().getLocalAddr() + " at " + new SimpleDateFormat("yyyy/MM/dd HH:mm:ss z").format(new Date(now)) + " start.serverId is " + Config.SCHEDULE_SERVER_ID + "=================\n\n");
for (Map.Entry entry : stacks.entrySet()) {
Thread thread = entry.getKey();
writer.write("\"" + thread.getName() + "\" prio=" + thread.getPriority() + " tid=" + thread.getId() + " " + thread.getState() + " " + (thread.isDaemon() ? "deamon" : "worker"));