You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2022/12/15 09:02:44 UTC

[dubbo] branch 3.1 updated: Print stack trace when creating global shared handler

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

albumenj pushed a commit to branch 3.1
in repository https://gitbox.apache.org/repos/asf/dubbo.git


The following commit(s) were added to refs/heads/3.1 by this push:
     new 5034baba00 Print stack trace when creating global shared handler
5034baba00 is described below

commit 5034baba007c4744039ad61c6d5e2e36ed5513f1
Author: Albumen Kevin <jh...@gmail.com>
AuthorDate: Thu Dec 15 17:02:22 2022 +0800

    Print stack trace when creating global shared handler
---
 .../org/apache/dubbo/common/resource/GlobalResourcesRepository.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dubbo-common/src/main/java/org/apache/dubbo/common/resource/GlobalResourcesRepository.java b/dubbo-common/src/main/java/org/apache/dubbo/common/resource/GlobalResourcesRepository.java
index 275b4dbd5f..c128b54470 100644
--- a/dubbo-common/src/main/java/org/apache/dubbo/common/resource/GlobalResourcesRepository.java
+++ b/dubbo-common/src/main/java/org/apache/dubbo/common/resource/GlobalResourcesRepository.java
@@ -90,7 +90,7 @@ public class GlobalResourcesRepository {
             synchronized (this) {
                 if (executorService == null || executorService.isShutdown()) {
                     if (logger.isInfoEnabled()) {
-                        logger.info("Creating global shared handler ...");
+                        logger.error("Creating global shared handler ...", new RuntimeException());
                     }
                     executorService = Executors.newCachedThreadPool(new NamedThreadFactory("Dubbo-global-shared-handler", true));
                 }