Improved logging of CoAP module.