Log messages - setting up connections to the message factory