Tweaking the logging of api calls a bit.