Class NodeLogging
java.lang.Object
org.apache.solr.api.JerseyResource
org.apache.solr.handler.admin.api.NodeLogging
- All Implemented Interfaces:
NodeLoggingApis
V2 APIs for getting or setting log levels on an individual node.
These APIs ('/api/node/logging' and descendants) are analogous to the v1 /admin/info/logging.
-
Field Summary
Fields inherited from class org.apache.solr.api.JerseyResource
containerRequestContext -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfetchLocalLogMessages(Long boundingTimeMillis) modifyLocalLogLevel(List<LogLevelChange> requestBody) static List<LogLevelChange> parseLogLevelChanges(String[] rawChangeValues) setMessageThreshold(SetThresholdRequestBody requestBody) static voidMethods inherited from class org.apache.solr.api.JerseyResource
ensureRequiredParameterProvided, ensureRequiredRequestBodyProvided, instantiateJerseyResponse, instantiateJerseyResponse
-
Constructor Details
-
NodeLogging
-
-
Method Details
-
listAllLoggersAndLevels
- Specified by:
listAllLoggersAndLevelsin interfaceNodeLoggingApis
-
modifyLocalLogLevel
- Specified by:
modifyLocalLogLevelin interfaceNodeLoggingApis
-
fetchLocalLogMessages
- Specified by:
fetchLocalLogMessagesin interfaceNodeLoggingApis
-
setMessageThreshold
- Specified by:
setMessageThresholdin interfaceNodeLoggingApis
-
writeLogsForTesting
public static void writeLogsForTesting() -
parseLogLevelChanges
-