You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2019/07/12 18:09:27 UTC

[GitHub] [incubator-druid] suneet-amp commented on a change in pull request #7562: Enable ability to toggle SegmentMetadata request logging on/off

suneet-amp commented on a change in pull request #7562: Enable ability to toggle SegmentMetadata request logging on/off
URL: https://github.com/apache/incubator-druid/pull/7562#discussion_r303092497
 
 

 ##########
 File path: server/src/main/java/org/apache/druid/server/log/FilteredRequestLoggerProvider.java
 ##########
 @@ -63,12 +68,15 @@ public RequestLogger get()
     private final RequestLogger logger;
     private final long queryTimeThresholdMs;
     private final long sqlQueryTimeThresholdMs;
+    private final boolean logSegmentMetadataQueries;
 
-    public FilteredRequestLogger(RequestLogger logger, long queryTimeThresholdMs, long sqlQueryTimeThresholdMs)
+    public FilteredRequestLogger(RequestLogger logger, long queryTimeThresholdMs, long sqlQueryTimeThresholdMs,
 
 Review comment:
   You might want to look into using spotless as a pre-push hook so that you don't have to catch styling issues in code review. It will automatically re-format the code according to a provided style guide
   https://github.com/diffplug/spotless/tree/master/plugin-maven#applying-to-java-source
   
   (long time lurker) Sorry if this is a redundant suggestion and you already have another tool that does similar stuff

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org