logging of mxm api calls