- Direct Known Subclasses:
public abstract class LoggingAwareMultiCommand extends org.elasticsearch.cli.MultiCommand
A multi-command that is aware of logging. This class should be preferred over the base
MultiCommandclass for any CLI tools that depend on core Elasticsearch as they could directly or indirectly touch classes that touch logging and as such logging needs to be configured.
Fields inherited from class org.elasticsearch.cli.MultiCommand
Fields inherited from class org.elasticsearch.cli.Command
String description)(Construct the command with the specified command description.
Methods inherited from class org.elasticsearch.cli.MultiCommand
close, execute, printAdditionalHelp, printUserException
Methods inherited from class org.elasticsearch.cli.Command
addShutdownHook, exit, main
LoggingAwareMultiCommandpublic LoggingAwareMultiCommand(String description)Construct the command with the specified command description. This command will have logging configured without reading Elasticsearch configuration files.
description- the command description