Logging for stub API calls