@SuppressWarnings("unused")
private Logger reqlog, resplog;
private void readLogging(Element logging, String typename) {
Logger log;
Element e;
if ("REQUEST".equals(typename))
log = reqlog = RequestLog.getInstance(null);
else
log = resplog = ResponseLog.getInstance(null);
// read logging levels after creating the GUI components
if ((e = logging.getChild("levels")) != null)
log.readLevels(e);
}