xds: remove logging in data path (#7437)

This commit is contained in:
Chengyuan Zhang 2020-09-17 21:08:54 -07:00 committed by GitHub
parent 3abdb2859f
commit 92cbc578a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -238,10 +238,6 @@ final class XdsNameResolver extends NameResolver {
Map<String, ?> rawServiceConfig =
generateServiceConfigWithMethodTimeoutConfig(
selectedRoute.getRouteAction().getTimeoutNano());
if (logger.isLoggable(XdsLogLevel.INFO)) {
logger.log(XdsLogLevel.INFO,
"Generated service config (method config):\n{0}", new Gson().toJson(rawServiceConfig));
}
ConfigOrError parsedServiceConfig = serviceConfigParser.parseServiceConfig(rawServiceConfig);
Object config = parsedServiceConfig.getConfig();
if (config == null) {