Debug line with all properties: FROMHOST: '', fromhost-ip: '172.17.128.1', HOSTNAME: 'host', PRI: 134, syslogtag 'app[postgres.2483263]', programname: 'app', APP-NAME: 'app', PROCID: 'postgres.2483263', MSGID: '-', TIMESTAMP: 'Nov 11 23:04:34', STRUCTURED-DATA: '[DATABASE]', msg: '[96-1] sql_error_code = 00000 time_ms = "2026-11-11 23:04:34.266 UTC" pid="1122236" proc_start_time="2026-11-11 22:40:04 UTC" session_id="6af4eec4.111fbc" vtid="17/135317" tid="0" log_line="4" database="ddvvgu681gm35p" connection_source="10.0.144.75(48082)" user="uc0g389cnbt72e" application_name="[unknown]" LOG: duration: 3040.655 ms execute : select count(*) as "count" from (select "streams"."external_id", "streams"."id", "streams"."owner_id", "streams"."updated_at", "streams"."type", "projections"."projection" from "streams" inner join "projections" on "projections"."stream_id" = "streams"."id" where "streams"."type" = $1 and "projections"."version" = $2 and CAST("projections"."projection"#>>'{org62AccountId}' AS text) not in ($3) and "streams"."updated_at" >= $4) as "temp"' escaped msg: '[96-1] sql_error_code = 00000 time_ms = "2026-11-11 23:04:34.266 UTC" pid="1122236" proc_start_time="2026-11-11 22:40:04 UTC" session_id="6af4eec4.111fbc" vtid="17/135317" tid="0" log_line="4" database="ddvvgu681gm35p" connection_source="10.0.144.75(48082)" user="uc0g389cnbt72e" application_name="[unknown]" LOG: duration: 3040.655 ms execute : select count(*) as "count" from (select "streams"."external_id", "streams"."id", "streams"."owner_id", "streams"."updated_at", "streams"."type", "projections"."projection" from "streams" inner join "projections" on "projections"."stream_id" = "streams"."id" where "streams"."type" = $1 and "projections"."version" = $2 and CAST("projections"."projection"#>>'{org62AccountId}' AS text) not in ($3) and "streams"."updated_at" >= $4) as "temp"' inputname: drain rawmsg: '<134>1 2026-11-11T23:04:34+00:00 host app postgres.2483263 - [DATABASE] [96-1] sql_error_code = 00000 time_ms = "2026-11-11 23:04:34.266 UTC" pid="1122236" proc_start_time="2026-11-11 22:40:04 UTC" session_id="6af4eec4.111fbc" vtid="17/135317" tid="0" log_line="4" database="ddvvgu681gm35p" connection_source="10.0.144.75(48082)" user="uc0g389cnbt72e" application_name="[unknown]" LOG: duration: 3040.655 ms execute : select count(*) as "count" from (select "streams"."external_id", "streams"."id", "streams"."owner_id", "streams"."updated_at", "streams"."type", "projections"."projection" from "streams" inner join "projections" on "projections"."stream_id" = "streams"."id" where "streams"."type" = $1 and "projections"."version" = $2 and CAST("projections"."projection"#>>'{org62AccountId}' AS text) not in ($3) and "streams"."updated_at" >= $4) as "temp"' $!:{ "metadata": { "httpheaders": { "host": "appx-staging-drain-4bd9f585e48c.herokuapp.com", "user-agent": "logfwd", "content-length": "1372", "accept-encoding": "gzip", "content-type": "application\/logplex-1", "logplex-drain-token": "d.2257363d-e289-4fca-980f-d26509782992", "logplex-frame-id": "6dca38c0-8752-41ce-9f5b-221454f4034c", "logplex-msg-count": "2", "server": "Heroku", "via": "1.1 spaces-router (0b8a9a9e03f1)", "x-forwarded-for": "3.230.29.170", "x-forwarded-port": "443", "x-forwarded-proto": "https", "x-request-id": "2b59d9b7-762c-15eb-c7ce-bc0074493e41", "x-request-start": "1794438274648" }, "queryparams": { "app": "appx-oaf-staging", "space": "appexchange-primary", "service": "appexchange", "team": "sfdc-platform-ecosystem" } }, "data": { "event": "[96-1] sql_error_code = 00000 time_ms = \"2026-11-11 23:04:34.266 UTC\" pid=\"1122236\" proc_start_time=\"2026-11-11 22:40:04 UTC\" session_id=\"6af4eec4.111fbc\" vtid=\"17\/135317\" tid=\"0\" log_line=\"4\" database=\"ddvvgu681gm35p\" connection_source=\"10.0.144.75(48082)\" user=\"uc0g389cnbt72e\" application_name=\"[unknown]\" LOG: duration: 3040.655 ms execute : select count(*) as \"count\" from (select \"streams\".\"external_id\", \"streams\".\"id\", \"streams\".\"owner_id\", \"streams\".\"updated_at\", \"streams\".\"type\", \"projections\".\"projection\" from \"streams\" inner join \"projections\" on \"projections\".\"stream_id\" = \"streams\".\"id\" where \"streams\".\"type\" = $1 and \"projections\".\"version\" = $2 and CAST(\"projections\".\"projection\"#>>'{org62AccountId}' AS text) not in ($3) and \"streams\".\"updated_at\" >= $4) as \"temp\"", "source": "heroku.app", "sourcetype": "-", "hostname": "d.2257363d-e289-4fca-980f-d26509782992", "agent_timestamp": "2026-11-11T23:04:34+00:00", "tags_schema_id": "any6:1", "tags": { "dyno": "postgres.2483263", "app": "appx-oaf-staging", "space": "appexchange-primary", "region": "-", "severity": "info", "uuid": "d2b5b31d-2db1-4389-940d-0e73e0f64b0b" }, "owner": { "service": "appexchange", "team": "sfdc-platform-ecosystem", "environment": "-", "cloud": "-" } } } $.:{ "app_id": "d.2257363d-e289-4fca-980f-d26509782992", "source": "app", "dyno": "postgres.2483263", "app": "appx-oaf-staging", "space": "appexchange-primary", "region": "-", "team": "sfdc-platform-ecosystem", "service": "appexchange", "sourcetype": "-", "environment": "-", "cloud": "-", "business_unit": "Heroku", "type": "log", "inc": 0, "format": "text", "dynadir": "debug" } $/: Debug line with all properties: FROMHOST: '', fromhost-ip: '172.17.128.1', HOSTNAME: 'host', PRI: 134, syslogtag 'app[postgres.2483263]', programname: 'app', APP-NAME: 'app', PROCID: 'postgres.2483263', MSGID: '-', TIMESTAMP: 'Nov 11 23:04:34', STRUCTURED-DATA: '[DATABASE]', msg: '[96-2] sql_error_code = 00000 time_ms = "2026-11-11 23:04:34.266 UTC" pid="1122236" proc_start_time="2026-11-11 22:40:04 UTC" session_id="6af4eec4.111fbc" vtid="17/135317" tid="0" log_line="5" database="ddvvgu681gm35p" connection_source="10.0.144.75(48082)" user="uc0g389cnbt72e" application_name="[unknown]" DETAIL: parameters: $1 = 'listing', $2 = 'oafv1', $3 = '0013000000HkkOAAAZ', $4 = '2026-10-30 07:27:53.96+00'' escaped msg: '[96-2] sql_error_code = 00000 time_ms = "2026-11-11 23:04:34.266 UTC" pid="1122236" proc_start_time="2026-11-11 22:40:04 UTC" session_id="6af4eec4.111fbc" vtid="17/135317" tid="0" log_line="5" database="ddvvgu681gm35p" connection_source="10.0.144.75(48082)" user="uc0g389cnbt72e" application_name="[unknown]" DETAIL: parameters: $1 = 'listing', $2 = 'oafv1', $3 = '0013000000HkkOAAAZ', $4 = '2026-10-30 07:27:53.96+00'' inputname: drain rawmsg: '<134>1 2026-11-11T23:04:34+00:00 host app postgres.2483263 - [DATABASE] [96-2] sql_error_code = 00000 time_ms = "2026-11-11 23:04:34.266 UTC" pid="1122236" proc_start_time="2026-11-11 22:40:04 UTC" session_id="6af4eec4.111fbc" vtid="17/135317" tid="0" log_line="5" database="ddvvgu681gm35p" connection_source="10.0.144.75(48082)" user="uc0g389cnbt72e" application_name="[unknown]" DETAIL: parameters: $1 = 'listing', $2 = 'oafv1', $3 = '0013000000HkkOAAAZ', $4 = '2026-10-30 07:27:53.96+00'' $!:{ "metadata": { "httpheaders": { "host": "appx-staging-drain-4bd9f585e48c.herokuapp.com", "user-agent": "logfwd", "content-length": "1372", "accept-encoding": "gzip", "content-type": "application\/logplex-1", "logplex-drain-token": "d.2257363d-e289-4fca-980f-d26509782992", "logplex-frame-id": "6dca38c0-8752-41ce-9f5b-221454f4034c", "logplex-msg-count": "2", "server": "Heroku", "via": "1.1 spaces-router (0b8a9a9e03f1)", "x-forwarded-for": "3.230.29.170", "x-forwarded-port": "443", "x-forwarded-proto": "https", "x-request-id": "2b59d9b7-762c-15eb-c7ce-bc0074493e41", "x-request-start": "1794438274648" }, "queryparams": { "app": "appx-oaf-staging", "space": "appexchange-primary", "service": "appexchange", "team": "sfdc-platform-ecosystem" } }, "data": { "event": "[96-2] sql_error_code = 00000 time_ms = \"2026-11-11 23:04:34.266 UTC\" pid=\"1122236\" proc_start_time=\"2026-11-11 22:40:04 UTC\" session_id=\"6af4eec4.111fbc\" vtid=\"17\/135317\" tid=\"0\" log_line=\"5\" database=\"ddvvgu681gm35p\" connection_source=\"10.0.144.75(48082)\" user=\"uc0g389cnbt72e\" application_name=\"[unknown]\" DETAIL: parameters: $1 = 'listing', $2 = 'oafv1', $3 = '0013000000HkkOAAAZ', $4 = '2026-10-30 07:27:53.96+00'", "source": "heroku.app", "sourcetype": "-", "hostname": "d.2257363d-e289-4fca-980f-d26509782992", "agent_timestamp": "2026-11-11T23:04:34+00:00", "tags_schema_id": "any6:1", "tags": { "dyno": "postgres.2483263", "app": "appx-oaf-staging", "space": "appexchange-primary", "region": "-", "severity": "info", "uuid": "d2b5b31d-2db1-4389-940d-0e73e0f64b0b" }, "owner": { "service": "appexchange", "team": "sfdc-platform-ecosystem", "environment": "-", "cloud": "-" } } } $.:{ "app_id": "d.2257363d-e289-4fca-980f-d26509782992", "source": "app", "dyno": "postgres.2483263", "app": "appx-oaf-staging", "space": "appexchange-primary", "region": "-", "team": "sfdc-platform-ecosystem", "service": "appexchange", "sourcetype": "-", "environment": "-", "cloud": "-", "business_unit": "Heroku", "type": "log", "inc": 0, "format": "text", "dynadir": "debug" } $/: Debug line with all properties: FROMHOST: '', fromhost-ip: '172.17.128.1', HOSTNAME: 'host', PRI: 134, syslogtag 'app[postgres.2483263]', programname: 'app', APP-NAME: 'app', PROCID: 'postgres.2483263', MSGID: '-', TIMESTAMP: 'Nov 11 23:06:25', STRUCTURED-DATA: '[DATABASE]', msg: '[99-1] sql_error_code = 00000 time_ms = "2026-11-11 23:06:25.700 UTC" pid="1122236" proc_start_time="2026-11-11 22:40:04 UTC" session_id="6af4eec4.111fbc" vtid="17/135326" tid="0" log_line="10" database="ddvvgu681gm35p" connection_source="10.0.144.75(48082)" user="uc0g389cnbt72e" application_name="[unknown]" LOG: duration: 3034.524 ms execute : select count(*) as "count" from (select "streams"."external_id", "streams"."id", "streams"."owner_id", "streams"."updated_at", "streams"."type", "projections"."projection" from "streams" inner join "projections" on "projections"."stream_id" = "streams"."id" where "streams"."type" = $1 and "projections"."version" = $2 and CAST("projections"."projection"#>>'{org62AccountId}' AS text) not in ($3) and "streams"."updated_at" >= $4) as "temp"' escaped msg: '[99-1] sql_error_code = 00000 time_ms = "2026-11-11 23:06:25.700 UTC" pid="1122236" proc_start_time="2026-11-11 22:40:04 UTC" session_id="6af4eec4.111fbc" vtid="17/135326" tid="0" log_line="10" database="ddvvgu681gm35p" connection_source="10.0.144.75(48082)" user="uc0g389cnbt72e" application_name="[unknown]" LOG: duration: 3034.524 ms execute : select count(*) as "count" from (select "streams"."external_id", "streams"."id", "streams"."owner_id", "streams"."updated_at", "streams"."type", "projections"."projection" from "streams" inner join "projections" on "projections"."stream_id" = "streams"."id" where "streams"."type" = $1 and "projections"."version" = $2 and CAST("projections"."projection"#>>'{org62AccountId}' AS text) not in ($3) and "streams"."updated_at" >= $4) as "temp"' inputname: drain rawmsg: '<134>1 2026-11-11T23:06:25+00:00 host app postgres.2483263 - [DATABASE] [99-1] sql_error_code = 00000 time_ms = "2026-11-11 23:06:25.700 UTC" pid="1122236" proc_start_time="2026-11-11 22:40:04 UTC" session_id="6af4eec4.111fbc" vtid="17/135326" tid="0" log_line="10" database="ddvvgu681gm35p" connection_source="10.0.144.75(48082)" user="uc0g389cnbt72e" application_name="[unknown]" LOG: duration: 3034.524 ms execute : select count(*) as "count" from (select "streams"."external_id", "streams"."id", "streams"."owner_id", "streams"."updated_at", "streams"."type", "projections"."projection" from "streams" inner join "projections" on "projections"."stream_id" = "streams"."id" where "streams"."type" = $1 and "projections"."version" = $2 and CAST("projections"."projection"#>>'{org62AccountId}' AS text) not in ($3) and "streams"."updated_at" >= $4) as "temp"' $!:{ "metadata": { "httpheaders": { "host": "appx-staging-drain-4bd9f585e48c.herokuapp.com", "user-agent": "logfwd", "content-length": "1374", "accept-encoding": "gzip", "content-type": "application\/logplex-1", "logplex-drain-token": "d.2257363d-e289-4fca-980f-d26509782992", "logplex-frame-id": "8f41264f-33af-45e3-b8e3-59c63b048531", "logplex-msg-count": "2", "server": "Heroku", "via": "1.1 spaces-router (0b8a9a9e03f1)", "x-forwarded-for": "3.230.29.170", "x-forwarded-port": "443", "x-forwarded-proto": "https", "x-request-id": "2e59a124-b7f0-944a-da57-edc9442790ca", "x-request-start": "1794438386500" }, "queryparams": { "app": "appx-oaf-staging", "space": "appexchange-primary", "service": "appexchange", "team": "sfdc-platform-ecosystem" } }, "data": { "event": "[99-1] sql_error_code = 00000 time_ms = \"2026-11-11 23:06:25.700 UTC\" pid=\"1122236\" proc_start_time=\"2026-11-11 22:40:04 UTC\" session_id=\"6af4eec4.111fbc\" vtid=\"17\/135326\" tid=\"0\" log_line=\"10\" database=\"ddvvgu681gm35p\" connection_source=\"10.0.144.75(48082)\" user=\"uc0g389cnbt72e\" application_name=\"[unknown]\" LOG: duration: 3034.524 ms execute : select count(*) as \"count\" from (select \"streams\".\"external_id\", \"streams\".\"id\", \"streams\".\"owner_id\", \"streams\".\"updated_at\", \"streams\".\"type\", \"projections\".\"projection\" from \"streams\" inner join \"projections\" on \"projections\".\"stream_id\" = \"streams\".\"id\" where \"streams\".\"type\" = $1 and \"projections\".\"version\" = $2 and CAST(\"projections\".\"projection\"#>>'{org62AccountId}' AS text) not in ($3) and \"streams\".\"updated_at\" >= $4) as \"temp\"", "source": "heroku.app", "sourcetype": "-", "hostname": "d.2257363d-e289-4fca-980f-d26509782992", "agent_timestamp": "2026-11-11T23:06:25+00:00", "tags_schema_id": "any6:1", "tags": { "dyno": "postgres.2483263", "app": "appx-oaf-staging", "space": "appexchange-primary", "region": "-", "severity": "info", "uuid": "d2b5b31d-2db1-4389-940d-0e73e0f64b0b" }, "owner": { "service": "appexchange", "team": "sfdc-platform-ecosystem", "environment": "-", "cloud": "-" } } } $.:{ "app_id": "d.2257363d-e289-4fca-980f-d26509782992", "source": "app", "dyno": "postgres.2483263", "app": "appx-oaf-staging", "space": "appexchange-primary", "region": "-", "team": "sfdc-platform-ecosystem", "service": "appexchange", "sourcetype": "-", "environment": "-", "cloud": "-", "business_unit": "Heroku", "type": "log", "inc": 0, "format": "text", "dynadir": "debug" } $/: Debug line with all properties: FROMHOST: '', fromhost-ip: '172.17.128.1', HOSTNAME: 'host', PRI: 134, syslogtag 'app[postgres.2483263]', programname: 'app', APP-NAME: 'app', PROCID: 'postgres.2483263', MSGID: '-', TIMESTAMP: 'Nov 11 23:06:25', STRUCTURED-DATA: '[DATABASE]', msg: '[99-2] sql_error_code = 00000 time_ms = "2026-11-11 23:06:25.700 UTC" pid="1122236" proc_start_time="2026-11-11 22:40:04 UTC" session_id="6af4eec4.111fbc" vtid="17/135326" tid="0" log_line="11" database="ddvvgu681gm35p" connection_source="10.0.144.75(48082)" user="uc0g389cnbt72e" application_name="[unknown]" DETAIL: parameters: $1 = 'listing', $2 = 'oafv1', $3 = '0013000000HkkOAAAZ', $4 = '2026-10-30 07:27:53.96+00'' escaped msg: '[99-2] sql_error_code = 00000 time_ms = "2026-11-11 23:06:25.700 UTC" pid="1122236" proc_start_time="2026-11-11 22:40:04 UTC" session_id="6af4eec4.111fbc" vtid="17/135326" tid="0" log_line="11" database="ddvvgu681gm35p" connection_source="10.0.144.75(48082)" user="uc0g389cnbt72e" application_name="[unknown]" DETAIL: parameters: $1 = 'listing', $2 = 'oafv1', $3 = '0013000000HkkOAAAZ', $4 = '2026-10-30 07:27:53.96+00'' inputname: drain rawmsg: '<134>1 2026-11-11T23:06:25+00:00 host app postgres.2483263 - [DATABASE] [99-2] sql_error_code = 00000 time_ms = "2026-11-11 23:06:25.700 UTC" pid="1122236" proc_start_time="2026-11-11 22:40:04 UTC" session_id="6af4eec4.111fbc" vtid="17/135326" tid="0" log_line="11" database="ddvvgu681gm35p" connection_source="10.0.144.75(48082)" user="uc0g389cnbt72e" application_name="[unknown]" DETAIL: parameters: $1 = 'listing', $2 = 'oafv1', $3 = '0013000000HkkOAAAZ', $4 = '2026-10-30 07:27:53.96+00'' $!:{ "metadata": { "httpheaders": { "host": "appx-staging-drain-4bd9f585e48c.herokuapp.com", "user-agent": "logfwd", "content-length": "1374", "accept-encoding": "gzip", "content-type": "application\/logplex-1", "logplex-drain-token": "d.2257363d-e289-4fca-980f-d26509782992", "logplex-frame-id": "8f41264f-33af-45e3-b8e3-59c63b048531", "logplex-msg-count": "2", "server": "Heroku", "via": "1.1 spaces-router (0b8a9a9e03f1)", "x-forwarded-for": "3.230.29.170", "x-forwarded-port": "443", "x-forwarded-proto": "https", "x-request-id": "2e59a124-b7f0-944a-da57-edc9442790ca", "x-request-start": "1794438386500" }, "queryparams": { "app": "appx-oaf-staging", "space": "appexchange-primary", "service": "appexchange", "team": "sfdc-platform-ecosystem" } }, "data": { "event": "[99-2] sql_error_code = 00000 time_ms = \"2026-11-11 23:06:25.700 UTC\" pid=\"1122236\" proc_start_time=\"2026-11-11 22:40:04 UTC\" session_id=\"6af4eec4.111fbc\" vtid=\"17\/135326\" tid=\"0\" log_line=\"11\" database=\"ddvvgu681gm35p\" connection_source=\"10.0.144.75(48082)\" user=\"uc0g389cnbt72e\" application_name=\"[unknown]\" DETAIL: parameters: $1 = 'listing', $2 = 'oafv1', $3 = '0013000000HkkOAAAZ', $4 = '2026-10-30 07:27:53.96+00'", "source": "heroku.app", "sourcetype": "-", "hostname": "d.2257363d-e289-4fca-980f-d26509782992", "agent_timestamp": "2026-11-11T23:06:25+00:00", "tags_schema_id": "any6:1", "tags": { "dyno": "postgres.2483263", "app": "appx-oaf-staging", "space": "appexchange-primary", "region": "-", "severity": "info", "uuid": "d2b5b31d-2db1-4389-940d-0e73e0f64b0b" }, "owner": { "service": "appexchange", "team": "sfdc-platform-ecosystem", "environment": "-", "cloud": "-" } } } $.:{ "app_id": "d.2257363d-e289-4fca-980f-d26509782992", "source": "app", "dyno": "postgres.2483263", "app": "appx-oaf-staging", "space": "appexchange-primary", "region": "-", "team": "sfdc-platform-ecosystem", "service": "appexchange", "sourcetype": "-", "environment": "-", "cloud": "-", "business_unit": "Heroku", "type": "log", "inc": 0, "format": "text", "dynadir": "debug" } $/: Debug line with all properties: FROMHOST: '', fromhost-ip: '172.17.128.1', HOSTNAME: 'host', PRI: 134, syslogtag 'app[postgres.2483263]', programname: 'app', APP-NAME: 'app', PROCID: 'postgres.2483263', MSGID: '-', TIMESTAMP: 'Nov 11 23:31:22', STRUCTURED-DATA: '[DATABASE]', msg: '[100-1] sql_error_code = 00000 time_ms = "2026-11-11 23:31:22.797 UTC" pid="1122236" proc_start_time="2026-11-11 22:40:04 UTC" session_id="6af4eec4.111fbc" vtid="17/135334" tid="0" log_line="12" database="ddvvgu681gm35p" connection_source="10.0.144.75(48082)" user="uc0g389cnbt72e" application_name="[unknown]" LOG: duration: 3023.869 ms execute : select count(*) as "count" from (select "streams"."external_id", "streams"."id", "streams"."owner_id", "streams"."updated_at", "streams"."type", "projections"."projection" from "streams" inner join "projections" on "projections"."stream_id" = "streams"."id" where "streams"."type" = $1 and "projections"."version" = $2 and CAST("projections"."projection"#>>'{org62AccountId}' AS text) not in ($3) and "streams"."updated_at" >= $4) as "temp"' escaped msg: '[100-1] sql_error_code = 00000 time_ms = "2026-11-11 23:31:22.797 UTC" pid="1122236" proc_start_time="2026-11-11 22:40:04 UTC" session_id="6af4eec4.111fbc" vtid="17/135334" tid="0" log_line="12" database="ddvvgu681gm35p" connection_source="10.0.144.75(48082)" user="uc0g389cnbt72e" application_name="[unknown]" LOG: duration: 3023.869 ms execute : select count(*) as "count" from (select "streams"."external_id", "streams"."id", "streams"."owner_id", "streams"."updated_at", "streams"."type", "projections"."projection" from "streams" inner join "projections" on "projections"."stream_id" = "streams"."id" where "streams"."type" = $1 and "projections"."version" = $2 and CAST("projections"."projection"#>>'{org62AccountId}' AS text) not in ($3) and "streams"."updated_at" >= $4) as "temp"' inputname: drain rawmsg: '<134>1 2026-11-11T23:31:22+00:00 host app postgres.2483263 - [DATABASE] [100-1] sql_error_code = 00000 time_ms = "2026-11-11 23:31:22.797 UTC" pid="1122236" proc_start_time="2026-11-11 22:40:04 UTC" session_id="6af4eec4.111fbc" vtid="17/135334" tid="0" log_line="12" database="ddvvgu681gm35p" connection_source="10.0.144.75(48082)" user="uc0g389cnbt72e" application_name="[unknown]" LOG: duration: 3023.869 ms execute : select count(*) as "count" from (select "streams"."external_id", "streams"."id", "streams"."owner_id", "streams"."updated_at", "streams"."type", "projections"."projection" from "streams" inner join "projections" on "projections"."stream_id" = "streams"."id" where "streams"."type" = $1 and "projections"."version" = $2 and CAST("projections"."projection"#>>'{org62AccountId}' AS text) not in ($3) and "streams"."updated_at" >= $4) as "temp"' $!:{ "metadata": { "httpheaders": { "host": "appx-staging-drain-4bd9f585e48c.herokuapp.com", "user-agent": "logfwd", "content-length": "1376", "accept-encoding": "gzip", "content-type": "application\/logplex-1", "logplex-drain-token": "d.2257363d-e289-4fca-980f-d26509782992", "logplex-frame-id": "c8656f61-16c4-4fb6-9bfa-e93348fba37f", "logplex-msg-count": "2", "server": "Heroku", "via": "1.1 spaces-router (0b8a9a9e03f1)", "x-forwarded-for": "54.209.91.58", "x-forwarded-port": "443", "x-forwarded-proto": "https", "x-request-id": "4c975640-6d58-30d1-ed5c-dd3f1270c3aa", "x-request-start": "1794439883649" }, "queryparams": { "app": "appx-oaf-staging", "space": "appexchange-primary", "service": "appexchange", "team": "sfdc-platform-ecosystem" } }, "data": { "event": "[100-1] sql_error_code = 00000 time_ms = \"2026-11-11 23:31:22.797 UTC\" pid=\"1122236\" proc_start_time=\"2026-11-11 22:40:04 UTC\" session_id=\"6af4eec4.111fbc\" vtid=\"17\/135334\" tid=\"0\" log_line=\"12\" database=\"ddvvgu681gm35p\" connection_source=\"10.0.144.75(48082)\" user=\"uc0g389cnbt72e\" application_name=\"[unknown]\" LOG: duration: 3023.869 ms execute : select count(*) as \"count\" from (select \"streams\".\"external_id\", \"streams\".\"id\", \"streams\".\"owner_id\", \"streams\".\"updated_at\", \"streams\".\"type\", \"projections\".\"projection\" from \"streams\" inner join \"projections\" on \"projections\".\"stream_id\" = \"streams\".\"id\" where \"streams\".\"type\" = $1 and \"projections\".\"version\" = $2 and CAST(\"projections\".\"projection\"#>>'{org62AccountId}' AS text) not in ($3) and \"streams\".\"updated_at\" >= $4) as \"temp\"", "source": "heroku.app", "sourcetype": "-", "hostname": "d.2257363d-e289-4fca-980f-d26509782992", "agent_timestamp": "2026-11-11T23:31:22+00:00", "tags_schema_id": "any6:1", "tags": { "dyno": "postgres.2483263", "app": "appx-oaf-staging", "space": "appexchange-primary", "region": "-", "severity": "info", "uuid": "d2b5b31d-2db1-4389-940d-0e73e0f64b0b" }, "owner": { "service": "appexchange", "team": "sfdc-platform-ecosystem", "environment": "-", "cloud": "-" } } } $.:{ "app_id": "d.2257363d-e289-4fca-980f-d26509782992", "source": "app", "dyno": "postgres.2483263", "app": "appx-oaf-staging", "space": "appexchange-primary", "region": "-", "team": "sfdc-platform-ecosystem", "service": "appexchange", "sourcetype": "-", "environment": "-", "cloud": "-", "business_unit": "Heroku", "type": "log", "inc": 0, "format": "text", "dynadir": "debug" } $/: Debug line with all properties: FROMHOST: '', fromhost-ip: '172.17.128.1', HOSTNAME: 'host', PRI: 134, syslogtag 'app[postgres.2483263]', programname: 'app', APP-NAME: 'app', PROCID: 'postgres.2483263', MSGID: '-', TIMESTAMP: 'Nov 11 23:31:22', STRUCTURED-DATA: '[DATABASE]', msg: '[100-2] sql_error_code = 00000 time_ms = "2026-11-11 23:31:22.797 UTC" pid="1122236" proc_start_time="2026-11-11 22:40:04 UTC" session_id="6af4eec4.111fbc" vtid="17/135334" tid="0" log_line="13" database="ddvvgu681gm35p" connection_source="10.0.144.75(48082)" user="uc0g389cnbt72e" application_name="[unknown]" DETAIL: parameters: $1 = 'listing', $2 = 'oafv1', $3 = '0013000000HkkOAAAZ', $4 = '2026-10-30 07:27:53.96+00'' escaped msg: '[100-2] sql_error_code = 00000 time_ms = "2026-11-11 23:31:22.797 UTC" pid="1122236" proc_start_time="2026-11-11 22:40:04 UTC" session_id="6af4eec4.111fbc" vtid="17/135334" tid="0" log_line="13" database="ddvvgu681gm35p" connection_source="10.0.144.75(48082)" user="uc0g389cnbt72e" application_name="[unknown]" DETAIL: parameters: $1 = 'listing', $2 = 'oafv1', $3 = '0013000000HkkOAAAZ', $4 = '2026-10-30 07:27:53.96+00'' inputname: drain rawmsg: '<134>1 2026-11-11T23:31:22+00:00 host app postgres.2483263 - [DATABASE] [100-2] sql_error_code = 00000 time_ms = "2026-11-11 23:31:22.797 UTC" pid="1122236" proc_start_time="2026-11-11 22:40:04 UTC" session_id="6af4eec4.111fbc" vtid="17/135334" tid="0" log_line="13" database="ddvvgu681gm35p" connection_source="10.0.144.75(48082)" user="uc0g389cnbt72e" application_name="[unknown]" DETAIL: parameters: $1 = 'listing', $2 = 'oafv1', $3 = '0013000000HkkOAAAZ', $4 = '2026-10-30 07:27:53.96+00'' $!:{ "metadata": { "httpheaders": { "host": "appx-staging-drain-4bd9f585e48c.herokuapp.com", "user-agent": "logfwd", "content-length": "1376", "accept-encoding": "gzip", "content-type": "application\/logplex-1", "logplex-drain-token": "d.2257363d-e289-4fca-980f-d26509782992", "logplex-frame-id": "c8656f61-16c4-4fb6-9bfa-e93348fba37f", "logplex-msg-count": "2", "server": "Heroku", "via": "1.1 spaces-router (0b8a9a9e03f1)", "x-forwarded-for": "54.209.91.58", "x-forwarded-port": "443", "x-forwarded-proto": "https", "x-request-id": "4c975640-6d58-30d1-ed5c-dd3f1270c3aa", "x-request-start": "1794439883649" }, "queryparams": { "app": "appx-oaf-staging", "space": "appexchange-primary", "service": "appexchange", "team": "sfdc-platform-ecosystem" } }, "data": { "event": "[100-2] sql_error_code = 00000 time_ms = \"2026-11-11 23:31:22.797 UTC\" pid=\"1122236\" proc_start_time=\"2026-11-11 22:40:04 UTC\" session_id=\"6af4eec4.111fbc\" vtid=\"17\/135334\" tid=\"0\" log_line=\"13\" database=\"ddvvgu681gm35p\" connection_source=\"10.0.144.75(48082)\" user=\"uc0g389cnbt72e\" application_name=\"[unknown]\" DETAIL: parameters: $1 = 'listing', $2 = 'oafv1', $3 = '0013000000HkkOAAAZ', $4 = '2026-10-30 07:27:53.96+00'", "source": "heroku.app", "sourcetype": "-", "hostname": "d.2257363d-e289-4fca-980f-d26509782992", "agent_timestamp": "2026-11-11T23:31:22+00:00", "tags_schema_id": "any6:1", "tags": { "dyno": "postgres.2483263", "app": "appx-oaf-staging", "space": "appexchange-primary", "region": "-", "severity": "info", "uuid": "d2b5b31d-2db1-4389-940d-0e73e0f64b0b" }, "owner": { "service": "appexchange", "team": "sfdc-platform-ecosystem", "environment": "-", "cloud": "-" } } } $.:{ "app_id": "d.2257363d-e289-4fca-980f-d26509782992", "source": "app", "dyno": "postgres.2483263", "app": "appx-oaf-staging", "space": "appexchange-primary", "region": "-", "team": "sfdc-platform-ecosystem", "service": "appexchange", "sourcetype": "-", "environment": "-", "cloud": "-", "business_unit": "Heroku", "type": "log", "inc": 0, "format": "text", "dynadir": "debug" } $/: