Fix issue that the initialize status of LogManager is not set when factoryClassName is present and instantiate successfully
@@ -122,8 +122,8 @@ public class LogManager {
+ "Please add log4j-core to the classpath. Using SimpleLogger to log to the console...");
factory = SimpleLoggerContextFactory.INSTANCE;
}
- LogManagerStatus.setInitialized(true);
}
+ LogManagerStatus.setInitialized(true);
}
/**
