diff --git a/pom.xml b/pom.xml index 9a198bc..1d5e4c5 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.alipay.sofa hessian - 3.3.10 + 3.3.11 jar ${project.groupId}:${project.artifactId} diff --git a/src/main/java/com/alipay/hessian/NameBlackListFilter.java b/src/main/java/com/alipay/hessian/NameBlackListFilter.java index ce2e312..da534de 100644 --- a/src/main/java/com/alipay/hessian/NameBlackListFilter.java +++ b/src/main/java/com/alipay/hessian/NameBlackListFilter.java @@ -38,8 +38,10 @@ public class NameBlackListFilter implements ClassNameFilter { private static Logger judgeLogger() { + //user can use a specify class to do some extra info in static try { - NameBlackListFilter.class.getClassLoader().loadClass("com.alipay.sofa.common.log.LoggerSpaceManager"); + Class.forName("com.alipay.sofa.middleware.log.ConfigLogFactory", true, + NameBlackListFilter.class.getClassLoader()); } catch (Throwable e) { //do nothing return null;