adding logger to wrap around syslog and printf
using wrapper macros for logging instead of plain printf()s