logError("Can not parse log viewer cron expression", e);
} catch (SchedulerException e) {
logError("Problem when creating log viewer scheduler", e);
}
// Add one second interval to update the log view every second
JSAndCSSComponent jsc = new JSAndCSSComponent("intervall", this.getClass(), null, null, false, null, 3000);
jsc.requireFullPageRefresh(); // interval not working otherwise
logViewerVC.put("updatecontrol", jsc);
// Add manual update link in case the automatic refresh does not work
updateLink = LinkFactory.createButtonSmall("logviewer.link.update", logViewerVC, this);
stopLink = LinkFactory.createButtonSmall("logviewer.link.stop", logViewerVC, this);