Here’s an example info log that I’m saying should be at the debug level:
{
"level": "info",
"module": "pgx",
"invocation_id": "76b776ea-6db4-4d6d-a054-0e5e28dc753e",
"args": [
"2024-08-28T17:34:22.859235Z",
"aws-<redacted>",
"0626df0d-954c-5415-b9af-81d5d4226f14",
null,
"<redacted>",
"ANPAZKAPJZG4ATKMS5NQP",
null,
"arn:aws:iam::aws:policy/<redacted>",
0,
"2024-07-27T00:35:42Z",
"v1",
null,
true,
"/",
0,
"<redacted>",
"Amazon<redacted>RolePolicy",
"2024-07-27T00:35:42Z",
"<redacted> (truncated 40 bytes)",
"<redacted>"
],
"commandTag": "INSERT 0 1",
"message": "BatchQuery",
"sql": "insert into \"aws_iam_policies\" (\"_cq_sync_time\",\"_cq_source_name\",\"_cq_id\",\"_cq_parent_id\",\"account_id\",\"id\",\"tags\",\"arn\",\"attachment_count\",\"create_date\",\"default_version_id\",\"description\",\"is_attachable\",\"path\",<redacted>\"input_hash\"=excluded.\"input_hash\"",
"time": "2024-08-28T17:39:15Z"
}
Where info could just be the table name being accessed.