[sr-dev] git:master:78e658cd: kex: convert to memory logging helper, add missing mem error logging