List<Level> levels = new ArrayList<Level>();
String[] debugPackages = getDebugKeyPackages();
ComponentRegistry componentRegistry = cache.getComponentRegistry();
try {
for (String pkg : debugPackages) {
Log logger = LogFactory.getLog(pkg);
levels.add(logger.getLevel());
logger.setLevel(Level.TRACE);
}
for (String clazz : getDebugKeyClassesTraceFix()) {
setTraceField(componentRegistry, clazz, true);
}
cache.get(key);