Class PinotServerLogger
- java.lang.Object
-
- org.apache.pinot.server.api.resources.PinotServerLogger
-
@Path("/") public class PinotServerLogger extends ObjectLogger resource.
-
-
Constructor Summary
Constructors Constructor Description PinotServerLogger()
-
Method Summary
Modifier and Type Method Description javax.ws.rs.core.ResponsedownloadLogFile(String filePath)Set<String>getLocalLogFiles()Map<String,String>getLogger(String loggerName)List<String>getLoggers()Map<String,String>setLoggerLevel(String loggerName, String level)
-
-
-
Method Detail
-
getLogger
@GET @Path("/loggers/{loggerName}") @Produces("application/json") public Map<String,String> getLogger(@PathParam("loggerName") String loggerName)
-
setLoggerLevel
@PUT @Path("/loggers/{loggerName}") @Produces("application/json") public Map<String,String> setLoggerLevel(@PathParam("loggerName") String loggerName, @QueryParam("level") String level)
-
getLocalLogFiles
@GET @Path("/loggers/files") @Produces("application/json") public Set<String> getLocalLogFiles()
-
downloadLogFile
@GET @Path("/loggers/download") @Produces("application/octet-stream") public javax.ws.rs.core.Response downloadLogFile(@QueryParam("filePath") String filePath)
-
-