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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to