Logging disconnections provides useful diagnostic data such as session length, which can identify performance issues in an application and potential DoS vectors.
Insufficient diagnostic data.
Enable disconnection logging.
The following example will fail the google-sql-pg-log-disconnections check.
The following example will pass the google-sql-pg-log-disconnections check.