Class 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.
    • 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 Detail

      • CommandLoggingConfigurator

        public CommandLoggingConfigurator()
    • Method Detail

      • 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.