Logging api

Log receiving routine was not being called as a goroutine and was consequently was blocking startup.