Without logging, important request and response data, as well as potential errors, are not recorded, making it more difficult to monitor and troubleshoot issues in the API. Additionally, the lack of logging may limit visibility into malicious activities or unauthorized access attempts.
Enabling logging helps in:
An attacker attempts to exploit an API vulnerability in an AppSync GraphQL API that doesn't have logging enabled. They send a series of unauthorized requests to the API in an attempt to access sensitive user data. Since logging is not enabled, there are no records of these requests in CloudWatch or any other logging service, which means that the API owner remains unaware of the malicious activity.
In this scenario, AppSync logging being disabled means that there is no easy way to track abnormal or malicious API usage, slowing down response times to incidents or making them harder to identify.