hdn-logging fixes