18ccc9b90c
wrappers for err, errx, warn and warnx respectively when running in foreground and call syslog functions when running in daemon mode. Also add and use an extra log_info function for other types of information.