super(resourceContext, logProperties, getFileFromPropertyMap(logProperties));
this.file = getFileFromPropertyMap(logProperties);
try {
this.poller = new LogFileEventPoller(getEventContext(), EVENT_LOG_TYPE, new File(this.file), this);
getEventContext().registerEventPoller(this.poller, EventContext.MINIMUM_POLLING_INTERVAL,
this.poller.getSourceLocation());
} catch (Exception e) {
log.error("Failed attempt to setup syslog file poller. Cannot process syslog messages.", e);
}