if (EventUtil.isLocal(event)) {
final PageEvent pageEvent = PageEvent.fromEvent(event);
if (pageEvent != null) {
final Iterator<PageModification> i = pageEvent.getModifications();
while (i.hasNext()) {
final PageModification pm = i.next();
log.debug("Page event occurred: {} on {}", pm.getType(), pm.getPath());
}
}
}
}