Add more debug logging on message sending

More logging on sending logs. To hopefully catch the issue. #47
Add trace logging so debug can be left on without filling up
local log files.
Add version of logit to the outgoing log. fixes #52