Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Commit

Permalink
catalog/routes: Change log level for ListTrafficPolicies from Info to…
Browse files Browse the repository at this point in the history
… Trace (#1923)
  • Loading branch information
draychev authored Oct 27, 2020
1 parent 9033e05 commit 92b5699
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/catalog/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const (

// ListTrafficPolicies returns all the traffic policies for a given service that Envoy proxy should be aware of.
func (mc *MeshCatalog) ListTrafficPolicies(service service.MeshService) ([]trafficpolicy.TrafficTarget, error) {
log.Info().Msgf("Listing traffic policies for service: %s", service)
log.Trace().Msgf("Listing traffic policies for service: %s", service)

if mc.configurator.IsPermissiveTrafficPolicyMode() {
// Build traffic policies from service discovery for allow-all policy
Expand All @@ -35,7 +35,7 @@ func (mc *MeshCatalog) ListTrafficPolicies(service service.MeshService) ([]traff
// Build traffic policies from SMI
allRoutes, err := mc.getHTTPPathsPerRoute()
if err != nil {
log.Error().Err(err).Msgf("Could not get all routes")
log.Error().Err(err).Msgf("Error getting all paths per route while working on service %s", service)
return nil, err
}

Expand Down

0 comments on commit 92b5699

Please sign in to comment.