Skip to content

Commit

Permalink
reduce log spam when AWS Aurora engine name is not recognized (#24413)
Browse files Browse the repository at this point in the history
  • Loading branch information
GavinFrazar committed Apr 12, 2023
1 parent 100994a commit cf4100b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/srv/discovery/fetchers/db/aws_rds.go
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ func retryWithIndividualEngineFilters(log logrus.FieldLogger, engines []string,
if !isUnrecognizedAWSEngineNameError(err) {
return trace.Wrap(err)
}
log.WithError(err).Warn("Teleport supports an engine which is unrecognized in this AWS region. Querying engines individually.")
log.WithError(trace.Unwrap(err)).Debug("Teleport supports an engine which is unrecognized in this AWS region. Querying engine names individually.")
for _, engine := range engines {
err := fn(rdsEngineFilter([]string{engine}))
if err == nil {
Expand Down

0 comments on commit cf4100b

Please sign in to comment.