1 Answer
- Newest
- Most votes
- Most comments
0
Please see the documentation on edge function logging:
If a CloudFront function's code contains console.log() statements, CloudFront Functions automatically sends these log lines to CloudWatch Logs. If there are no console.log() statements, nothing is sent to CloudWatch Logs.
So if you want to disable the logging, you'd need to make sure you do not have any console.log() statements in your code. Otherwise, logs will be sent to Cloudwatch logs as described in the documentation.
Relevant content
asked 3 years ago
asked 2 years ago
- AWS OFFICIALUpdated 4 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 8 months ago

Perfect answer. Thank you!