URL url = findURLOfDefaultConfigurationFile(true);
if (url != null) {
configureByResource(url);
} else {
Configurator c = EnvUtil.loadFromServiceLoader(Configurator.class);
<BUG>if (c != null) {
try {</BUG>
c.setContext(loggerContext);
c.configure(loggerContext);
} catch (Exception e) {

URL url = findURLOfDefaultConfigurationFile(true);
if (url != null) {
configureByResource(url);
} else {
Configurator c = EnvUtil.loadFromServiceLoader(Configurator.class);
if (c != null) {
System.out.println("loadFromServiceLoader");
try {
c.setContext(loggerContext);
c.configure(loggerContext);
} catch (Exception e) {
