}
String loggerClass = configuration.getAttribute
("logger", null);
Logger namespaceLogger = null;
if (loggerClass==null) {
// if there is no logger defined on the namespace
// use the domain logger
namespaceLogger=logger;
}
else {
try {
namespaceLogger =
(Logger) (Class.forName(loggerClass).newInstance());
namespaceLogger.setLoggerLevel(configuration.getAttributeAsInt
("logger-level", Logger.INFO));
} catch (Exception e) {
error(e);
}
}