From a907086be472d0e4479dcaa249d002dfd4cb9a04 Mon Sep 17 00:00:00 2001 From: Michael Lumish Date: Tue, 30 Mar 2021 13:26:42 -0700 Subject: [PATCH] Remove temporary debug log line --- packages/grpc-js-xds/src/resolver-xds.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/packages/grpc-js-xds/src/resolver-xds.ts b/packages/grpc-js-xds/src/resolver-xds.ts index f9cb3d1d..c07370b7 100644 --- a/packages/grpc-js-xds/src/resolver-xds.ts +++ b/packages/grpc-js-xds/src/resolver-xds.ts @@ -338,14 +338,9 @@ class XdsResolver implements Resolver { this.clusterRefcounts.set(name, {inLastConfig: true, refCount: 0}); } } - let configSelectorLogCounter = 0; const configSelector: ConfigSelector = (methodName, metadata) => { for (const {matcher, action} of matchList) { if (matcher.apply(methodName, metadata)) { - // 37 is coprime with most relevant numbers - if (configSelectorLogCounter % 37 === 0) { - trace('Call with method ' + methodName + ' and metadata ' + JSON.stringify(metadata.getMap(), undefined, 2) + ' matched ' + matcher.toString()); - } const clusterName = action.getCluster(); this.refCluster(clusterName); const onCommitted = () => {