-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(aws-apigatewayv2): CfnStage logging level ERROR not working #25930
Comments
Can you check the synthesized output and see if the value of loggingLevel is |
Oooh good point! Just check again and confirmed, synthesized template sets value to ERROR, but the resource is still set to incorrect mode. |
@FarrOut Please refer aws-cloudformation/cloudformation-coverage-roadmap#1712 (comment). Setting Closing this ticket. Feel free to reopen if it's still an issue. |
|
Describe the bug
Setting ApiGWv2.CfnStage.loggingLevel is not deploying correct value.
Expected Behavior
When setting logging level to
ERROR
, the resulting setting in the physical resource should be set to "Errors Only"Current Behavior
Setting logging level to
ERROR
, results in the physical resource being set to "Full Request and Response Logs".Reproduction Steps
LoggingLevel parameter VS physical resource
OFF: "OFF"
INFO: "Full Request and Response Logs"
ERROR: "Full Request and Response Logs" (WRONG!)
Possible Solution
When setting logging level to "ERROR", set physical resource to "Errors Only" mode.
Additional Information/Context
No response
CDK CLI Version
2.83.1 (build 006b542)
Framework Version
No response
Node.js Version
v16.20.0
OS
Windows 10
Language
Typescript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: