Debug line with all properties: FROMHOST: '', fromhost-ip: '172.17.128.1', HOSTNAME: 'host', PRI: 134, syslogtag 'app[postgres.2437305]', programname: 'app', APP-NAME: 'app', PROCID: 'postgres.2437305', MSGID: '-', TIMESTAMP: 'Nov 11 18:59:06', STRUCTURED-DATA: '[DATABASE]', msg: '[98-1] sql_error_code = 00000 time_ms = "2026-11-11 18:59:06.514 UTC" pid="1117477" proc_start_time="2026-11-11 18:40:05 UTC" session_id="6af4b685.110d25" vtid="13/500581" tid="0" log_line="8" database="ddvvgu681gm35p" connection_source="10.0.172.89(44848)" user="uc0g389cnbt72e" application_name="[unknown]" LOG: duration: 3176.801 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: '[98-1] sql_error_code = 00000 time_ms = "2026-11-11 18:59:06.514 UTC" pid="1117477" proc_start_time="2026-11-11 18:40:05 UTC" session_id="6af4b685.110d25" vtid="13/500581" tid="0" log_line="8" database="ddvvgu681gm35p" connection_source="10.0.172.89(44848)" user="uc0g389cnbt72e" application_name="[unknown]" LOG: duration: 3176.801 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-11T18:59:06+00:00 host app postgres.2437305 - [DATABASE] [98-1] sql_error_code = 00000 time_ms = "2026-11-11 18:59:06.514 UTC" pid="1117477" proc_start_time="2026-11-11 18:40:05 UTC" session_id="6af4b685.110d25" vtid="13/500581" tid="0" log_line="8" database="ddvvgu681gm35p" connection_source="10.0.172.89(44848)" user="uc0g389cnbt72e" application_name="[unknown]" LOG: duration: 3176.801 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": "8c5b9153-1e0e-4483-8243-0a85a3365f88", "logplex-msg-count": "2", "server": "Heroku", "via": "1.1 spaces-router (0b8a9a9e03f1)", "x-forwarded-for": "3.226.156.187", "x-forwarded-port": "443", "x-forwarded-proto": "https", "x-request-id": "5b7f9acf-4e92-7a55-5dc8-937ed54126fd", "x-request-start": "1794423547313" }, "queryparams": { "app": "appx-oaf-staging", "space": "appexchange-primary", "service": "appexchange", "team": "sfdc-platform-ecosystem" } }, "data": { "event": "[98-1] sql_error_code = 00000 time_ms = \"2026-11-11 18:59:06.514 UTC\" pid=\"1117477\" proc_start_time=\"2026-11-11 18:40:05 UTC\" session_id=\"6af4b685.110d25\" vtid=\"13\/500581\" tid=\"0\" log_line=\"8\" database=\"ddvvgu681gm35p\" connection_source=\"10.0.172.89(44848)\" user=\"uc0g389cnbt72e\" application_name=\"[unknown]\" LOG: duration: 3176.801 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-11T18:59:06+00:00", "tags_schema_id": "any6:1", "tags": { "dyno": "postgres.2437305", "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.2437305", "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.2437305]', programname: 'app', APP-NAME: 'app', PROCID: 'postgres.2437305', MSGID: '-', TIMESTAMP: 'Nov 11 18:59:06', STRUCTURED-DATA: '[DATABASE]', msg: '[98-2] sql_error_code = 00000 time_ms = "2026-11-11 18:59:06.514 UTC" pid="1117477" proc_start_time="2026-11-11 18:40:05 UTC" session_id="6af4b685.110d25" vtid="13/500581" tid="0" log_line="9" database="ddvvgu681gm35p" connection_source="10.0.172.89(44848)" user="uc0g389cnbt72e" application_name="[unknown]" DETAIL: parameters: $1 = 'listing', $2 = 'oafv1', $3 = '0013000000HkkOAAAZ', $4 = '2026-10-30 07:27:53.96+00'' escaped msg: '[98-2] sql_error_code = 00000 time_ms = "2026-11-11 18:59:06.514 UTC" pid="1117477" proc_start_time="2026-11-11 18:40:05 UTC" session_id="6af4b685.110d25" vtid="13/500581" tid="0" log_line="9" database="ddvvgu681gm35p" connection_source="10.0.172.89(44848)" 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-11T18:59:06+00:00 host app postgres.2437305 - [DATABASE] [98-2] sql_error_code = 00000 time_ms = "2026-11-11 18:59:06.514 UTC" pid="1117477" proc_start_time="2026-11-11 18:40:05 UTC" session_id="6af4b685.110d25" vtid="13/500581" tid="0" log_line="9" database="ddvvgu681gm35p" connection_source="10.0.172.89(44848)" 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": "8c5b9153-1e0e-4483-8243-0a85a3365f88", "logplex-msg-count": "2", "server": "Heroku", "via": "1.1 spaces-router (0b8a9a9e03f1)", "x-forwarded-for": "3.226.156.187", "x-forwarded-port": "443", "x-forwarded-proto": "https", "x-request-id": "5b7f9acf-4e92-7a55-5dc8-937ed54126fd", "x-request-start": "1794423547313" }, "queryparams": { "app": "appx-oaf-staging", "space": "appexchange-primary", "service": "appexchange", "team": "sfdc-platform-ecosystem" } }, "data": { "event": "[98-2] sql_error_code = 00000 time_ms = \"2026-11-11 18:59:06.514 UTC\" pid=\"1117477\" proc_start_time=\"2026-11-11 18:40:05 UTC\" session_id=\"6af4b685.110d25\" vtid=\"13\/500581\" tid=\"0\" log_line=\"9\" database=\"ddvvgu681gm35p\" connection_source=\"10.0.172.89(44848)\" 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-11T18:59:06+00:00", "tags_schema_id": "any6:1", "tags": { "dyno": "postgres.2437305", "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.2437305", "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.2437305]', programname: 'app', APP-NAME: 'app', PROCID: 'postgres.2437305', MSGID: '-', TIMESTAMP: 'Nov 11 18:59:11', STRUCTURED-DATA: '[DATABASE]', msg: '[99-1] sql_error_code = 00000 time_ms = "2026-11-11 18:59:11.217 UTC" pid="1117477" proc_start_time="2026-11-11 18:40:05 UTC" session_id="6af4b685.110d25" vtid="13/500584" tid="0" log_line="10" database="ddvvgu681gm35p" connection_source="10.0.172.89(44848)" user="uc0g389cnbt72e" application_name="[unknown]" LOG: duration: 3117.831 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 18:59:11.217 UTC" pid="1117477" proc_start_time="2026-11-11 18:40:05 UTC" session_id="6af4b685.110d25" vtid="13/500584" tid="0" log_line="10" database="ddvvgu681gm35p" connection_source="10.0.172.89(44848)" user="uc0g389cnbt72e" application_name="[unknown]" LOG: duration: 3117.831 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-11T18:59:11+00:00 host app postgres.2437305 - [DATABASE] [99-1] sql_error_code = 00000 time_ms = "2026-11-11 18:59:11.217 UTC" pid="1117477" proc_start_time="2026-11-11 18:40:05 UTC" session_id="6af4b685.110d25" vtid="13/500584" tid="0" log_line="10" database="ddvvgu681gm35p" connection_source="10.0.172.89(44848)" user="uc0g389cnbt72e" application_name="[unknown]" LOG: duration: 3117.831 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": "075cc5ee-06e0-426d-b114-b1082adc66bd", "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": "8628d0ca-34a1-45c6-7f31-92b98a96f76c", "x-request-start": "1794423552149" }, "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 18:59:11.217 UTC\" pid=\"1117477\" proc_start_time=\"2026-11-11 18:40:05 UTC\" session_id=\"6af4b685.110d25\" vtid=\"13\/500584\" tid=\"0\" log_line=\"10\" database=\"ddvvgu681gm35p\" connection_source=\"10.0.172.89(44848)\" user=\"uc0g389cnbt72e\" application_name=\"[unknown]\" LOG: duration: 3117.831 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-11T18:59:11+00:00", "tags_schema_id": "any6:1", "tags": { "dyno": "postgres.2437305", "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.2437305", "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.2437305]', programname: 'app', APP-NAME: 'app', PROCID: 'postgres.2437305', MSGID: '-', TIMESTAMP: 'Nov 11 18:59:11', STRUCTURED-DATA: '[DATABASE]', msg: '[99-2] sql_error_code = 00000 time_ms = "2026-11-11 18:59:11.217 UTC" pid="1117477" proc_start_time="2026-11-11 18:40:05 UTC" session_id="6af4b685.110d25" vtid="13/500584" tid="0" log_line="11" database="ddvvgu681gm35p" connection_source="10.0.172.89(44848)" 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 18:59:11.217 UTC" pid="1117477" proc_start_time="2026-11-11 18:40:05 UTC" session_id="6af4b685.110d25" vtid="13/500584" tid="0" log_line="11" database="ddvvgu681gm35p" connection_source="10.0.172.89(44848)" 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-11T18:59:11+00:00 host app postgres.2437305 - [DATABASE] [99-2] sql_error_code = 00000 time_ms = "2026-11-11 18:59:11.217 UTC" pid="1117477" proc_start_time="2026-11-11 18:40:05 UTC" session_id="6af4b685.110d25" vtid="13/500584" tid="0" log_line="11" database="ddvvgu681gm35p" connection_source="10.0.172.89(44848)" 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": "075cc5ee-06e0-426d-b114-b1082adc66bd", "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": "8628d0ca-34a1-45c6-7f31-92b98a96f76c", "x-request-start": "1794423552149" }, "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 18:59:11.217 UTC\" pid=\"1117477\" proc_start_time=\"2026-11-11 18:40:05 UTC\" session_id=\"6af4b685.110d25\" vtid=\"13\/500584\" tid=\"0\" log_line=\"11\" database=\"ddvvgu681gm35p\" connection_source=\"10.0.172.89(44848)\" 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-11T18:59:11+00:00", "tags_schema_id": "any6:1", "tags": { "dyno": "postgres.2437305", "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.2437305", "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.2437305]', programname: 'app', APP-NAME: 'app', PROCID: 'postgres.2437305', MSGID: '-', TIMESTAMP: 'Nov 11 19:59:07', STRUCTURED-DATA: '[DATABASE]', msg: '[105-1] sql_error_code = 00000 time_ms = "2026-11-11 19:59:07.309 UTC" pid="1117477" proc_start_time="2026-11-11 18:40:05 UTC" session_id="6af4b685.110d25" vtid="13/500617" tid="0" log_line="22" database="ddvvgu681gm35p" connection_source="10.0.172.89(44848)" user="uc0g389cnbt72e" application_name="[unknown]" LOG: duration: 3108.374 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: '[105-1] sql_error_code = 00000 time_ms = "2026-11-11 19:59:07.309 UTC" pid="1117477" proc_start_time="2026-11-11 18:40:05 UTC" session_id="6af4b685.110d25" vtid="13/500617" tid="0" log_line="22" database="ddvvgu681gm35p" connection_source="10.0.172.89(44848)" user="uc0g389cnbt72e" application_name="[unknown]" LOG: duration: 3108.374 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-11T19:59:07+00:00 host app postgres.2437305 - [DATABASE] [105-1] sql_error_code = 00000 time_ms = "2026-11-11 19:59:07.309 UTC" pid="1117477" proc_start_time="2026-11-11 18:40:05 UTC" session_id="6af4b685.110d25" vtid="13/500617" tid="0" log_line="22" database="ddvvgu681gm35p" connection_source="10.0.172.89(44848)" user="uc0g389cnbt72e" application_name="[unknown]" LOG: duration: 3108.374 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": "0ff70a1e-cb6b-42a8-ad5d-b9fbd8ec04bd", "logplex-msg-count": "2", "server": "Heroku", "via": "1.1 spaces-router (0b8a9a9e03f1)", "x-forwarded-for": "54.147.88.38", "x-forwarded-port": "443", "x-forwarded-proto": "https", "x-request-id": "63500e58-cba3-93e4-2fe9-0305a0f96faf", "x-request-start": "1794427148140" }, "queryparams": { "app": "appx-oaf-staging", "space": "appexchange-primary", "service": "appexchange", "team": "sfdc-platform-ecosystem" } }, "data": { "event": "[105-1] sql_error_code = 00000 time_ms = \"2026-11-11 19:59:07.309 UTC\" pid=\"1117477\" proc_start_time=\"2026-11-11 18:40:05 UTC\" session_id=\"6af4b685.110d25\" vtid=\"13\/500617\" tid=\"0\" log_line=\"22\" database=\"ddvvgu681gm35p\" connection_source=\"10.0.172.89(44848)\" user=\"uc0g389cnbt72e\" application_name=\"[unknown]\" LOG: duration: 3108.374 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-11T19:59:07+00:00", "tags_schema_id": "any6:1", "tags": { "dyno": "postgres.2437305", "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.2437305", "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.2437305]', programname: 'app', APP-NAME: 'app', PROCID: 'postgres.2437305', MSGID: '-', TIMESTAMP: 'Nov 11 19:59:07', STRUCTURED-DATA: '[DATABASE]', msg: '[105-2] sql_error_code = 00000 time_ms = "2026-11-11 19:59:07.309 UTC" pid="1117477" proc_start_time="2026-11-11 18:40:05 UTC" session_id="6af4b685.110d25" vtid="13/500617" tid="0" log_line="23" database="ddvvgu681gm35p" connection_source="10.0.172.89(44848)" user="uc0g389cnbt72e" application_name="[unknown]" DETAIL: parameters: $1 = 'listing', $2 = 'oafv1', $3 = '0013000000HkkOAAAZ', $4 = '2026-10-30 07:27:53.96+00'' escaped msg: '[105-2] sql_error_code = 00000 time_ms = "2026-11-11 19:59:07.309 UTC" pid="1117477" proc_start_time="2026-11-11 18:40:05 UTC" session_id="6af4b685.110d25" vtid="13/500617" tid="0" log_line="23" database="ddvvgu681gm35p" connection_source="10.0.172.89(44848)" 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-11T19:59:07+00:00 host app postgres.2437305 - [DATABASE] [105-2] sql_error_code = 00000 time_ms = "2026-11-11 19:59:07.309 UTC" pid="1117477" proc_start_time="2026-11-11 18:40:05 UTC" session_id="6af4b685.110d25" vtid="13/500617" tid="0" log_line="23" database="ddvvgu681gm35p" connection_source="10.0.172.89(44848)" 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": "0ff70a1e-cb6b-42a8-ad5d-b9fbd8ec04bd", "logplex-msg-count": "2", "server": "Heroku", "via": "1.1 spaces-router (0b8a9a9e03f1)", "x-forwarded-for": "54.147.88.38", "x-forwarded-port": "443", "x-forwarded-proto": "https", "x-request-id": "63500e58-cba3-93e4-2fe9-0305a0f96faf", "x-request-start": "1794427148140" }, "queryparams": { "app": "appx-oaf-staging", "space": "appexchange-primary", "service": "appexchange", "team": "sfdc-platform-ecosystem" } }, "data": { "event": "[105-2] sql_error_code = 00000 time_ms = \"2026-11-11 19:59:07.309 UTC\" pid=\"1117477\" proc_start_time=\"2026-11-11 18:40:05 UTC\" session_id=\"6af4b685.110d25\" vtid=\"13\/500617\" tid=\"0\" log_line=\"23\" database=\"ddvvgu681gm35p\" connection_source=\"10.0.172.89(44848)\" 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-11T19:59:07+00:00", "tags_schema_id": "any6:1", "tags": { "dyno": "postgres.2437305", "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.2437305", "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" } $/: