Cleanup message logging in netconf handlers