[sr-dev] git:master:30f3bb9c: xcap_server: convert to memory logging helper, improve mem error handling