Manual:$wgAPIRequestLog

Details
Log file or URL (TCP or UDP) to log API requests to, or false to disable API request logging.