I am finding useful information locally in postgres logs using log level debug2. Is it possible to get logs of the same level from CloudSQL?
This official document shows you can add flags "log_min_messages" and "log_min_error_statement" with value "debug2".