Enable printf debugging and logging to the syslog at DEBUG level