Class ClusterLoggersResource


@RequiresAuthentication @Path("/cluster/system/loggers") public class ClusterLoggersResource extends ProxiedResource
  • Constructor Details

  • Method Details

    • loggers

      @GET @Timed @Produces("application/json") public Map<String,Optional<LoggersSummary>> loggers()
    • subsystems

      @GET @Timed @Path("/subsystems") @Produces("application/json") public Map<String,Optional<SubsystemSummary>> subsystems()
    • setSubsystemLoggerLevel

      @PUT @Timed @Path("/{nodeId}/subsystems/{subsystem}/level/{level}") public void setSubsystemLoggerLevel(@PathParam("nodeId") @NotEmpty @NotEmpty String nodeId, @PathParam("subsystem") @NotEmpty @NotEmpty String subsystemTitle, @PathParam("level") @NotEmpty @NotEmpty String level) throws NodeNotFoundException, IOException
      Throws:
      NodeNotFoundException
      IOException
    • setClusterSingleLoggerLevel

      @PUT @Timed @Path("/{loggerName}/level/{level}") @Produces("application/json") public Map<String,ProxiedResource.CallResult<Void>> setClusterSingleLoggerLevel(@PathParam("loggerName") @NotEmpty @NotEmpty String loggerName, @PathParam("level") @NotEmpty @NotEmpty String level)
    • messages

      @GET @Path("messages/recent/{nodeId}") @Produces("text/plain") public javax.ws.rs.core.Response messages(@PathParam("nodeId") @NotEmpty @NotEmpty String nodeId, @QueryParam("limit") @DefaultValue("1000") @Min(0L) @javax.validation.constraints.Min(0L) int limit) throws IOException
      Throws:
      IOException