add message link callbacks and massive logging