Class CommandLoggingConfigurator

java.lang.Object
org.elasticsearch.cli.CommandLoggingConfigurator

public final class CommandLoggingConfigurator extends Object
Holder class for method to configure logging without Elasticsearch configuration files for use in CLI tools that will not read such files.
  • 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.