Search code examples
logginggoogle-cloud-platformgoogle-cloud-storagegoogle-cloud-sql

Can Google CloudSQL report debug logs?


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?


Solution

  • This official document shows you can add flags "log_min_messages" and "log_min_error_statement" with value "debug2".