anchor.diff:      text = esConfig;
     };
   
  -  loggingConfigFilename = if es5 then "log4j2.properties" else "logging.yml";
  +  loggingConfigFilename = "log4j2.properties";
     loggingConfigFile = pkgs.writeTextFile {
       name = loggingConfigFilename;
       text = cfg.logging;
  
positive.code: 
      logging = mkOption {
        description = "Elasticsearch logging configuration.";
        default =
          if es5 then ''
            logger.action.name = org.elasticsearch.action
            logger.action.level = info
  
            appender.console.type = Console
            appender.console.name = console
            appender.console.layout.type = PatternLayout
            appender.console.layout.pattern = [%d{ISO8601}][%-5p][%-25c{1.}] %marker%m%n
  
            rootLogger.level = info
            rootLogger.appenderRef.console.ref = console
          '' else ''
            rootLogger: INFO, console
            logger:
              action: INFO
              com.amazonaws: WARN
            appender:
              console:
                type: console
                layout:
                  type: consolePattern
                  conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"
          '';
        type = types.str;
      };
  
  
negative.code:   esPlugins = pkgs.buildEnv {
      name = "elasticsearch-plugins";
      paths = cfg.plugins;
      postBuild = "${pkgs.coreutils}/bin/mkdir -p $out/plugins";
    };
  
  in {
  