1 17 18 package org.apache.geronimo.kernel.log; 19 20 import org.apache.commons.logging.impl.LogFactoryImpl; 21 22 25 public class BootstrapLogFactory extends LogFactoryImpl { 26 private String logClassName; 27 28 protected String getLogClassName() { 29 if (logClassName != null) { 30 return logClassName; 31 } 32 33 if (isLog4JAvailable()) { 34 logClassName = "org.apache.geronimo.kernel.log.BootstrapLog4jLog"; 35 } else { 36 logClassName = "org.apache.geronimo.kernel.log.BootstrapJdk14Log"; 37 } 38 return logClassName; 39 } 40 } 41 | Popular Tags |