Ensure that Postgres errors are logged
Setting the minimum log severity too high will cause errors not to be logged
Impact
Recommended Actions
Follow the appropriate remediation steps below to resolve the issue.
Set the minimum log severity to at least ERROR
1
2
3
4
5
6
7
8
9
10
11
|
resource "google_sql_database_instance" "db" {
name = "db"
database_version = "POSTGRES_12"
region = "us-central1"
settings {
database_flags {
name = "log_min_messages"
value = "WARNING"
}
}
}
|
Links