Skip to content

Commit

Permalink
feat:3311
Browse files Browse the repository at this point in the history
  • Loading branch information
leizhiyuan committed Apr 22, 2020
1 parent af3a41d commit 0868a1b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.alipay.sofa</groupId>
<artifactId>hessian</artifactId>
<version>3.3.10</version>
<version>3.3.11</version>
<packaging>jar</packaging>

<name>${project.groupId}:${project.artifactId}</name>
Expand Down
4 changes: 3 additions & 1 deletion src/main/java/com/alipay/hessian/NameBlackListFilter.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0868a1b

Please sign in to comment.