args to log() wrong; need syslog.h to define LOG_DEBUG