@NotThreadSafe @PublicApi public final class LogLevel extends Object
Modifier and Type | Method and Description |
---|---|
static void |
logLevel(String[] args,
AlluxioConfiguration alluxioConf)
Implements log level setting and getting.
|
static void |
main(String[] args)
Sets or gets log level of master and worker through their REST API.
|
static void |
printHelp(String message)
Prints the help message.
|
public static void printHelp(String message)
message
- message before standard usage informationpublic static void logLevel(String[] args, AlluxioConfiguration alluxioConf) throws org.apache.commons.cli.ParseException, IOException
args
- list of arguments contains target, logName and levelalluxioConf
- Alluxio configurationorg.apache.commons.cli.ParseException
- if there is an error in parsingIOException
Copyright © 2023. All Rights Reserved.