work on making log.c similar in all daemons:move daemon-local functions into new logmsg.c, and reducethe (mostly whitespace) differences so that log.c's can be diffed easily.ok claudio@