log client registration and message sending