KKcorps commented on code in PR #9259:
URL: https://github.com/apache/pinot/pull/9259#discussion_r952419280


##########
pinot-broker/src/main/java/org/apache/pinot/broker/api/resources/PinotBrokerLogger.java:
##########
@@ -80,4 +88,32 @@ public Map<String, String> setLoggerLevel(@ApiParam(value = 
"Logger name") @Path
       @ApiParam(value = "Logger level") @QueryParam("level") String level) {
     return LoggerUtils.setLoggerLevel(loggerName, level);
   }
+
+  @GET
+  @Path("/loggers/files")
+  @Produces(MediaType.APPLICATION_JSON)
+  @ApiOperation(value = "Get all local log files")
+  public Set<String> getLocalLogFiles() {

Review Comment:
   I guess we should put `@Authenticate(AccessType.READ)` here as well so that 
not all users have access to the log files.



-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to