Package org.elasticsearch.cli
Class CommandLoggingConfigurator
java.lang.Object
org.elasticsearch.cli.CommandLoggingConfigurator
public final class CommandLoggingConfigurator
extends java.lang.Object
Holder class for method to configure logging without Elasticsearch configuration files for use in CLI tools that will not read such
files.
-
Constructor Summary
Constructors Constructor Description CommandLoggingConfigurator()
-
Method Summary
Modifier and Type Method Description static void
configureLoggingWithoutConfig()
Configures logging without Elasticsearch configuration files based on the system property "es.logger.level" only.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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.
-