Debug line with all properties: FROMHOST: '', fromhost-ip: '172.17.128.1', HOSTNAME: 'host', PRI: 134, syslogtag 'app[postgres.2394087]', programname: 'app', APP-NAME: 'app', PROCID: 'postgres.2394087', MSGID: '-', TIMESTAMP: 'Nov 11 15:06:04', STRUCTURED-DATA: '[DATABASE]', msg: '[86-1] sql_error_code = 00000 time_ms = "2026-11-11 15:06:04.306 UTC" pid="1112742" proc_start_time="2026-11-11 15:00:05 UTC" session_id="6af482f5.10faa6" vtid="28/272315" tid="0" log_line="4" database="ddvvgu681gm35p" connection_source="10.0.151.136(41728)" user="uc0g389cnbt72e" application_name="[unknown]" LOG: duration: 3103.613 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: '[86-1] sql_error_code = 00000 time_ms = "2026-11-11 15:06:04.306 UTC" pid="1112742" proc_start_time="2026-11-11 15:00:05 UTC" session_id="6af482f5.10faa6" vtid="28/272315" tid="0" log_line="4" database="ddvvgu681gm35p" connection_source="10.0.151.136(41728)" user="uc0g389cnbt72e" application_name="[unknown]" LOG: duration: 3103.613 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-11T15:06:04+00:00 host app postgres.2394087 - [DATABASE] [86-1] sql_error_code = 00000 time_ms = "2026-11-11 15:06:04.306 UTC" pid="1112742" proc_start_time="2026-11-11 15:00:05 UTC" session_id="6af482f5.10faa6" vtid="28/272315" tid="0" log_line="4" database="ddvvgu681gm35p" connection_source="10.0.151.136(41728)" user="uc0g389cnbt72e" application_name="[unknown]" LOG: duration: 3103.613 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": "a644c5f5-1491-4875-9143-484f70937963", "logplex-msg-count": "2", "server": "Heroku", "via": "1.1 spaces-router (0b8a9a9e03f1)", "x-forwarded-for": "34.237.162.11", "x-forwarded-port": "443", "x-forwarded-proto": "https", "x-request-id": "083c4bf7-4d80-3ab7-0dcc-c40c91816886", "x-request-start": "1794409565157" }, "queryparams": { "app": "appx-oaf-staging", "space": "appexchange-primary", "service": "appexchange", "team": "sfdc-platform-ecosystem" } }, "data": { "event": "[86-1] sql_error_code = 00000 time_ms = \"2026-11-11 15:06:04.306 UTC\" pid=\"1112742\" proc_start_time=\"2026-11-11 15:00:05 UTC\" session_id=\"6af482f5.10faa6\" vtid=\"28\/272315\" tid=\"0\" log_line=\"4\" database=\"ddvvgu681gm35p\" connection_source=\"10.0.151.136(41728)\" user=\"uc0g389cnbt72e\" application_name=\"[unknown]\" LOG: duration: 3103.613 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-11T15:06:04+00:00", "tags_schema_id": "any6:1", "tags": { "dyno": "postgres.2394087", "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.2394087", "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.2394087]', programname: 'app', APP-NAME: 'app', PROCID: 'postgres.2394087', MSGID: '-', TIMESTAMP: 'Nov 11 15:06:04', STRUCTURED-DATA: '[DATABASE]', msg: '[86-2] sql_error_code = 00000 time_ms = "2026-11-11 15:06:04.306 UTC" pid="1112742" proc_start_time="2026-11-11 15:00:05 UTC" session_id="6af482f5.10faa6" vtid="28/272315" tid="0" log_line="5" database="ddvvgu681gm35p" connection_source="10.0.151.136(41728)" user="uc0g389cnbt72e" application_name="[unknown]" DETAIL: parameters: $1 = 'listing', $2 = 'oafv1', $3 = '0013000000HkkOAAAZ', $4 = '2026-10-30 07:27:53.96+00'' escaped msg: '[86-2] sql_error_code = 00000 time_ms = "2026-11-11 15:06:04.306 UTC" pid="1112742" proc_start_time="2026-11-11 15:00:05 UTC" session_id="6af482f5.10faa6" vtid="28/272315" tid="0" log_line="5" database="ddvvgu681gm35p" connection_source="10.0.151.136(41728)" 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-11T15:06:04+00:00 host app postgres.2394087 - [DATABASE] [86-2] sql_error_code = 00000 time_ms = "2026-11-11 15:06:04.306 UTC" pid="1112742" proc_start_time="2026-11-11 15:00:05 UTC" session_id="6af482f5.10faa6" vtid="28/272315" tid="0" log_line="5" database="ddvvgu681gm35p" connection_source="10.0.151.136(41728)" 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": "a644c5f5-1491-4875-9143-484f70937963", "logplex-msg-count": "2", "server": "Heroku", "via": "1.1 spaces-router (0b8a9a9e03f1)", "x-forwarded-for": "34.237.162.11", "x-forwarded-port": "443", "x-forwarded-proto": "https", "x-request-id": "083c4bf7-4d80-3ab7-0dcc-c40c91816886", "x-request-start": "1794409565157" }, "queryparams": { "app": "appx-oaf-staging", "space": "appexchange-primary", "service": "appexchange", "team": "sfdc-platform-ecosystem" } }, "data": { "event": "[86-2] sql_error_code = 00000 time_ms = \"2026-11-11 15:06:04.306 UTC\" pid=\"1112742\" proc_start_time=\"2026-11-11 15:00:05 UTC\" session_id=\"6af482f5.10faa6\" vtid=\"28\/272315\" tid=\"0\" log_line=\"5\" database=\"ddvvgu681gm35p\" connection_source=\"10.0.151.136(41728)\" 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-11T15:06:04+00:00", "tags_schema_id": "any6:1", "tags": { "dyno": "postgres.2394087", "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.2394087", "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.2394087]', programname: 'app', APP-NAME: 'app', PROCID: 'postgres.2394087', MSGID: '-', TIMESTAMP: 'Nov 11 15:07:30', STRUCTURED-DATA: '[DATABASE]', msg: '[88-1] sql_error_code = 00000 time_ms = "2026-11-11 15:07:30.990 UTC" pid="1112742" proc_start_time="2026-11-11 15:00:05 UTC" session_id="6af482f5.10faa6" vtid="28/272320" tid="0" log_line="8" database="ddvvgu681gm35p" connection_source="10.0.151.136(41728)" user="uc0g389cnbt72e" application_name="[unknown]" LOG: duration: 3072.406 ms execute : 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 limit $5 offset $6' escaped msg: '[88-1] sql_error_code = 00000 time_ms = "2026-11-11 15:07:30.990 UTC" pid="1112742" proc_start_time="2026-11-11 15:00:05 UTC" session_id="6af482f5.10faa6" vtid="28/272320" tid="0" log_line="8" database="ddvvgu681gm35p" connection_source="10.0.151.136(41728)" user="uc0g389cnbt72e" application_name="[unknown]" LOG: duration: 3072.406 ms execute : 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 limit $5 offset $6' inputname: drain rawmsg: '<134>1 2026-11-11T15:07:30+00:00 host app postgres.2394087 - [DATABASE] [88-1] sql_error_code = 00000 time_ms = "2026-11-11 15:07:30.990 UTC" pid="1112742" proc_start_time="2026-11-11 15:00:05 UTC" session_id="6af482f5.10faa6" vtid="28/272320" tid="0" log_line="8" database="ddvvgu681gm35p" connection_source="10.0.151.136(41728)" user="uc0g389cnbt72e" application_name="[unknown]" LOG: duration: 3072.406 ms execute : 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 limit $5 offset $6' $!:{ "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": "2cbadfab-3362-4e7d-bff2-56f50a38388f", "logplex-msg-count": "2", "server": "Heroku", "via": "1.1 spaces-router (0b8a9a9e03f1)", "x-forwarded-for": "34.237.162.11", "x-forwarded-port": "443", "x-forwarded-proto": "https", "x-request-id": "952f34e4-8dc1-c737-2ee3-b82e424e36ff", "x-request-start": "1794409651871" }, "queryparams": { "app": "appx-oaf-staging", "space": "appexchange-primary", "service": "appexchange", "team": "sfdc-platform-ecosystem" } }, "data": { "event": "[88-1] sql_error_code = 00000 time_ms = \"2026-11-11 15:07:30.990 UTC\" pid=\"1112742\" proc_start_time=\"2026-11-11 15:00:05 UTC\" session_id=\"6af482f5.10faa6\" vtid=\"28\/272320\" tid=\"0\" log_line=\"8\" database=\"ddvvgu681gm35p\" connection_source=\"10.0.151.136(41728)\" user=\"uc0g389cnbt72e\" application_name=\"[unknown]\" LOG: duration: 3072.406 ms execute : 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 limit $5 offset $6", "source": "heroku.app", "sourcetype": "-", "hostname": "d.2257363d-e289-4fca-980f-d26509782992", "agent_timestamp": "2026-11-11T15:07:30+00:00", "tags_schema_id": "any6:1", "tags": { "dyno": "postgres.2394087", "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.2394087", "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.2394087]', programname: 'app', APP-NAME: 'app', PROCID: 'postgres.2394087', MSGID: '-', TIMESTAMP: 'Nov 11 15:07:30', STRUCTURED-DATA: '[DATABASE]', msg: '[88-2] sql_error_code = 00000 time_ms = "2026-11-11 15:07:30.990 UTC" pid="1112742" proc_start_time="2026-11-11 15:00:05 UTC" session_id="6af482f5.10faa6" vtid="28/272320" tid="0" log_line="9" database="ddvvgu681gm35p" connection_source="10.0.151.136(41728)" user="uc0g389cnbt72e" application_name="[unknown]" DETAIL: parameters: $1 = 'listing', $2 = 'oafv1', $3 = '0013000000HkkOAAAZ', $4 = '2026-10-30 07:27:53.96+00', $5 = '2000', $6 = '52000'' escaped msg: '[88-2] sql_error_code = 00000 time_ms = "2026-11-11 15:07:30.990 UTC" pid="1112742" proc_start_time="2026-11-11 15:00:05 UTC" session_id="6af482f5.10faa6" vtid="28/272320" tid="0" log_line="9" database="ddvvgu681gm35p" connection_source="10.0.151.136(41728)" user="uc0g389cnbt72e" application_name="[unknown]" DETAIL: parameters: $1 = 'listing', $2 = 'oafv1', $3 = '0013000000HkkOAAAZ', $4 = '2026-10-30 07:27:53.96+00', $5 = '2000', $6 = '52000'' inputname: drain rawmsg: '<134>1 2026-11-11T15:07:30+00:00 host app postgres.2394087 - [DATABASE] [88-2] sql_error_code = 00000 time_ms = "2026-11-11 15:07:30.990 UTC" pid="1112742" proc_start_time="2026-11-11 15:00:05 UTC" session_id="6af482f5.10faa6" vtid="28/272320" tid="0" log_line="9" database="ddvvgu681gm35p" connection_source="10.0.151.136(41728)" user="uc0g389cnbt72e" application_name="[unknown]" DETAIL: parameters: $1 = 'listing', $2 = 'oafv1', $3 = '0013000000HkkOAAAZ', $4 = '2026-10-30 07:27:53.96+00', $5 = '2000', $6 = '52000'' $!:{ "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": "2cbadfab-3362-4e7d-bff2-56f50a38388f", "logplex-msg-count": "2", "server": "Heroku", "via": "1.1 spaces-router (0b8a9a9e03f1)", "x-forwarded-for": "34.237.162.11", "x-forwarded-port": "443", "x-forwarded-proto": "https", "x-request-id": "952f34e4-8dc1-c737-2ee3-b82e424e36ff", "x-request-start": "1794409651871" }, "queryparams": { "app": "appx-oaf-staging", "space": "appexchange-primary", "service": "appexchange", "team": "sfdc-platform-ecosystem" } }, "data": { "event": "[88-2] sql_error_code = 00000 time_ms = \"2026-11-11 15:07:30.990 UTC\" pid=\"1112742\" proc_start_time=\"2026-11-11 15:00:05 UTC\" session_id=\"6af482f5.10faa6\" vtid=\"28\/272320\" tid=\"0\" log_line=\"9\" database=\"ddvvgu681gm35p\" connection_source=\"10.0.151.136(41728)\" user=\"uc0g389cnbt72e\" application_name=\"[unknown]\" DETAIL: parameters: $1 = 'listing', $2 = 'oafv1', $3 = '0013000000HkkOAAAZ', $4 = '2026-10-30 07:27:53.96+00', $5 = '2000', $6 = '52000'", "source": "heroku.app", "sourcetype": "-", "hostname": "d.2257363d-e289-4fca-980f-d26509782992", "agent_timestamp": "2026-11-11T15:07:30+00:00", "tags_schema_id": "any6:1", "tags": { "dyno": "postgres.2394087", "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.2394087", "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.2394087]', programname: 'app', APP-NAME: 'app', PROCID: 'postgres.2394087', MSGID: '-', TIMESTAMP: 'Nov 11 15:07:34', STRUCTURED-DATA: '[DATABASE]', msg: '[89-1] sql_error_code = 00000 time_ms = "2026-11-11 15:07:34.065 UTC" pid="1112742" proc_start_time="2026-11-11 15:00:05 UTC" session_id="6af482f5.10faa6" vtid="28/272321" tid="0" log_line="10" database="ddvvgu681gm35p" connection_source="10.0.151.136(41728)" user="uc0g389cnbt72e" application_name="[unknown]" LOG: duration: 3069.583 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: '[89-1] sql_error_code = 00000 time_ms = "2026-11-11 15:07:34.065 UTC" pid="1112742" proc_start_time="2026-11-11 15:00:05 UTC" session_id="6af482f5.10faa6" vtid="28/272321" tid="0" log_line="10" database="ddvvgu681gm35p" connection_source="10.0.151.136(41728)" user="uc0g389cnbt72e" application_name="[unknown]" LOG: duration: 3069.583 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-11T15:07:34+00:00 host app postgres.2394087 - [DATABASE] [89-1] sql_error_code = 00000 time_ms = "2026-11-11 15:07:34.065 UTC" pid="1112742" proc_start_time="2026-11-11 15:00:05 UTC" session_id="6af482f5.10faa6" vtid="28/272321" tid="0" log_line="10" database="ddvvgu681gm35p" connection_source="10.0.151.136(41728)" user="uc0g389cnbt72e" application_name="[unknown]" LOG: duration: 3069.583 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": "1b454346-e7e2-45d0-8dfb-a860c1f0ebb4", "logplex-msg-count": "2", "server": "Heroku", "via": "1.1 spaces-router (0b8a9a9e03f1)", "x-forwarded-for": "44.199.10.187", "x-forwarded-port": "443", "x-forwarded-proto": "https", "x-request-id": "b1d3c1b9-af7e-bff4-12a0-148e64174ccb", "x-request-start": "1794409654886" }, "queryparams": { "app": "appx-oaf-staging", "space": "appexchange-primary", "service": "appexchange", "team": "sfdc-platform-ecosystem" } }, "data": { "event": "[89-1] sql_error_code = 00000 time_ms = \"2026-11-11 15:07:34.065 UTC\" pid=\"1112742\" proc_start_time=\"2026-11-11 15:00:05 UTC\" session_id=\"6af482f5.10faa6\" vtid=\"28\/272321\" tid=\"0\" log_line=\"10\" database=\"ddvvgu681gm35p\" connection_source=\"10.0.151.136(41728)\" user=\"uc0g389cnbt72e\" application_name=\"[unknown]\" LOG: duration: 3069.583 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-11T15:07:34+00:00", "tags_schema_id": "any6:1", "tags": { "dyno": "postgres.2394087", "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.2394087", "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.2394087]', programname: 'app', APP-NAME: 'app', PROCID: 'postgres.2394087', MSGID: '-', TIMESTAMP: 'Nov 11 15:07:34', STRUCTURED-DATA: '[DATABASE]', msg: '[89-2] sql_error_code = 00000 time_ms = "2026-11-11 15:07:34.065 UTC" pid="1112742" proc_start_time="2026-11-11 15:00:05 UTC" session_id="6af482f5.10faa6" vtid="28/272321" tid="0" log_line="11" database="ddvvgu681gm35p" connection_source="10.0.151.136(41728)" user="uc0g389cnbt72e" application_name="[unknown]" DETAIL: parameters: $1 = 'listing', $2 = 'oafv1', $3 = '0013000000HkkOAAAZ', $4 = '2026-10-30 07:27:53.96+00'' escaped msg: '[89-2] sql_error_code = 00000 time_ms = "2026-11-11 15:07:34.065 UTC" pid="1112742" proc_start_time="2026-11-11 15:00:05 UTC" session_id="6af482f5.10faa6" vtid="28/272321" tid="0" log_line="11" database="ddvvgu681gm35p" connection_source="10.0.151.136(41728)" 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-11T15:07:34+00:00 host app postgres.2394087 - [DATABASE] [89-2] sql_error_code = 00000 time_ms = "2026-11-11 15:07:34.065 UTC" pid="1112742" proc_start_time="2026-11-11 15:00:05 UTC" session_id="6af482f5.10faa6" vtid="28/272321" tid="0" log_line="11" database="ddvvgu681gm35p" connection_source="10.0.151.136(41728)" 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": "1b454346-e7e2-45d0-8dfb-a860c1f0ebb4", "logplex-msg-count": "2", "server": "Heroku", "via": "1.1 spaces-router (0b8a9a9e03f1)", "x-forwarded-for": "44.199.10.187", "x-forwarded-port": "443", "x-forwarded-proto": "https", "x-request-id": "b1d3c1b9-af7e-bff4-12a0-148e64174ccb", "x-request-start": "1794409654886" }, "queryparams": { "app": "appx-oaf-staging", "space": "appexchange-primary", "service": "appexchange", "team": "sfdc-platform-ecosystem" } }, "data": { "event": "[89-2] sql_error_code = 00000 time_ms = \"2026-11-11 15:07:34.065 UTC\" pid=\"1112742\" proc_start_time=\"2026-11-11 15:00:05 UTC\" session_id=\"6af482f5.10faa6\" vtid=\"28\/272321\" tid=\"0\" log_line=\"11\" database=\"ddvvgu681gm35p\" connection_source=\"10.0.151.136(41728)\" 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-11T15:07:34+00:00", "tags_schema_id": "any6:1", "tags": { "dyno": "postgres.2394087", "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.2394087", "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" } $/: