Turn off logging for RDS Proxy

0

Hello, how can the logging of RDS Proxy be turned off or at least set to ERROR level instead of INFO? My RDS Proxy spams my CloudWatch with connecting and disconnecting INFO messages that are not relevant for me. My CloudWatch costs are up just because of these logs. I don't have "Enhanced logging" turned on and never had. I also set the log_connect log_disconnect of my RDS Postgres instance to false but that didn't change anything. It seems like this feature is missing in the settings of RDS proxy, as its also not documented anywhere.

PP
질문됨 한 달 전145회 조회
1개 답변
2
수락된 답변

Hello, unfortunately there isn't a setting within RDS Proxy itself to change the log level or turn off logging. However, a few options you could try:

You can configure log exports on the underlying database instance (Postgres in your case) to send fewer log types to CloudWatch Logs. This would reduce the volume of logs without disabling them completely.

If you have enabled enhanced logging on the proxy, you could turn this off. Enhanced logging provides more detailed information but with additional overhead.

As a last resort, you could filter the log events in CloudWatch Logs to exclude the specific info-level messages that are generating the most costs for you. This would keep some logging enabled while removing the high-volume messages.

https://aws.amazon.com/getting-started/hands-on/set-up-shared-database-connection-amazon-rds-proxy/

profile picture
전문가
답변함 한 달 전
profile picture
전문가
검토됨 한 달 전
profile picture
전문가
검토됨 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인