provide a standard logging setup, use it for API calls