Package org.elasticsearch.cli
Class CommandLoggingConfigurator
java.lang.Object
org.elasticsearch.cli.CommandLoggingConfigurator
Holder class for method to configure logging without Elasticsearch configuration files for use in CLI tools that will not read such
files.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Configures logging without Elasticsearch configuration files based on the system property "es.logger.level" only.
-
Constructor Details
-
CommandLoggingConfigurator
public CommandLoggingConfigurator()
-
-
Method Details
-
configureLoggingWithoutConfig
public static void configureLoggingWithoutConfig()Configures logging without Elasticsearch configuration files based on the system property "es.logger.level" only. As such, any logging will be written to the console.
-