Skip to content

Commit

Permalink
xds: remove logging in data path (#7437)
Browse files Browse the repository at this point in the history
  • Loading branch information
voidzcy committed Sep 18, 2020
1 parent 3abdb28 commit 92cbc57
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions xds/src/main/java/io/grpc/xds/XdsNameResolver.java
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,6 @@ public Result selectConfig(PickSubchannelArgs args) {
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) {
Expand Down

0 comments on commit 92cbc57

Please sign in to comment.