Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
add sofa-serverless-adapter-logback v3
Browse files Browse the repository at this point in the history
  • Loading branch information
知行 committed Nov 30, 2023
1 parent 6774744 commit a0b51a2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public LoggerContext getLoggerContext() {

private ClassLoader findClassLoader() {
ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
if (BIZ_CLASS_LOADER.equals(classLoader.getClass().getName())) {
if (classLoader != null && BIZ_CLASS_LOADER.equals(classLoader.getClass().getName())) {
return classLoader;
}
Class<?>[] context = new SecurityManager() {
Expand Down

0 comments on commit a0b51a2

Please sign in to comment.