Added printing syslog for debugging.