File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
src/main/java/com/alipay/hessian Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 4
4
5
5
<groupId >com.alipay.sofa</groupId >
6
6
<artifactId >hessian</artifactId >
7
- <version >3.3.10 </version >
7
+ <version >3.3.11 </version >
8
8
<packaging >jar</packaging >
9
9
10
10
<name >${project.groupId} :${project.artifactId} </name >
Original file line number Diff line number Diff line change @@ -39,11 +39,19 @@ public class NameBlackListFilter implements ClassNameFilter {
39
39
private static Logger judgeLogger () {
40
40
41
41
try {
42
- NameBlackListFilter .class .getClassLoader ().loadClass ("com.alipay.sofa.common.log.LoggerSpaceManager" );
42
+ Class .forName ("com.alipay.sofa.common.log.LoggerSpaceManager" , true ,
43
+ NameBlackListFilter .class .getClassLoader ());
43
44
} catch (Throwable e ) {
44
45
//do nothing
45
46
return null ;
46
47
}
48
+ //user can use a specify class to do some extra info in static
49
+ try {
50
+ Class .forName ("com.alipay.sofa.middleware.log.ConfigLogFactory" , true ,
51
+ NameBlackListFilter .class .getClassLoader ());
52
+ } catch (Throwable e ) {
53
+ //do nothing
54
+ }
47
55
48
56
return com .alipay .sofa .common .log .LoggerSpaceManager .getLoggerBySpace (HESSIAN_SERIALIZE_LOG_NAME ,
49
57
CONFIG_LOG_SPACE_NAME );
You can’t perform that action at this time.
0 commit comments