add log for mock ajax