}
}
private static void logConfigPath(Engine engine, ServletContext servletContext, String path) {
if (engine != null && servletContext != null && path != null) {
Logger logger = engine.getProperty("logger", Logger.class);
if (logger != null && logger.isInfoEnabled()) {
String name = engine.getName();
try {
if (name != null && name.startsWith("/")
&& servletContext.getResource(name) != null) {
logger.info("Load httl config form " + servletContext.getRealPath(name) + " in webapp.");
}
} catch (IOException e) {
// ignore
}
}