logging facility for server, callback for message processing.