Skip to content

Conversation

@RomainMuller
Copy link
Contributor

@RomainMuller RomainMuller commented Dec 9, 2025

The message was incorrectly kept as warn! when we donwgraded all these log messages to debug! and this is very noisy in customer accounts.

JJ-Change-Id: zkowts
ZD: 2375557
Jira: APPSEC-60188

The message was incorrectly kept as `warn!` when we donwgraded all these
log messages to `debug!` and this is very noisy in customer accounts.

JJ-Change-Id: zkowts
@RomainMuller RomainMuller requested a review from a team as a code owner December 9, 2025 15:30
@RomainMuller RomainMuller changed the title fix(aap): downgrade integration response parsing log to debug APPSEC-60188: downgrade integration response parsing log to debug Dec 9, 2025
}
Ok(None) => debug!("aap: no response payload available"),
Err(e) => warn!("aap: failed to parse invocation result payload: {e}"),
Err(e) => debug!("aap: failed to parse invocation result payload: {e}"),
Copy link
Contributor

@jchrostek-dd jchrostek-dd Dec 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this a noisy log message for customers? Shouldn't this not be happening in most cases?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Basically, if this happens on a given Lambda function, then it is likely to happen for all invocations, as what we are parsing is the "core" structure of the API GW "Lambda Proxy" response... which is likely to be structured identically for all responses.

Ideally, we would produce telemetry logs for these conditions, so that we can be made aware of these issues (as you said, it should not happen unless we have a bug -- as was the case here and it's been fixed via #960) without causing a logs surcharge to the customer.

@RomainMuller RomainMuller merged commit 4a4d90d into main Dec 15, 2025
47 checks passed
@RomainMuller RomainMuller deleted the romain.marcadier/log-to-debug branch December 15, 2025 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants