Cleanup eclipse warnings. Unused configuration variable and add pretty print for add link partner message.