for (@SuppressWarnings("unchecked")
Enumeration<String> e = config.getInitParameterNames(); e.hasMoreElements();) {
String name = e.nextElement();
if (name.startsWith(PARAMETER_SYMBOL_MAPS)) {
String path = config.getInitParameter(name);
deobfuscatorList.add(new StackTraceDeobfuscator(path));
}
}
if (deobfuscatorList.isEmpty()) {
Log.warn("In order to enable stack trace deobfuscation, please specify the '"
+ PARAMETER_SYMBOL_MAPS + "' <init-param> for the " + RemoteLoggerServlet.class.getName()