/** * Called by log4j2 to initialize this converter. */ public static NodeNamePatternConverter newInstance(final String[] options) { if (options.length > 0) { throw new IllegalArgumentException("no options supported but options provided: " + Arrays.toString(options)); } return new NodeNamePatternConverter(); }
/** * Sets the node name. This is called before logging is configured if the * node name is set in elasticsearch.yml. Otherwise it is called as soon * as the node id is available. */ public static void setNodeName(String nodeName) { NodeNamePatternConverter.setNodeName(nodeName); }
/** * Called by log4j2 to initialize this converter. */ public static NodeNamePatternConverter newInstance(final String[] options) { if (options.length > 0) { throw new IllegalArgumentException("no options supported but options provided: " + Arrays.toString(options)); } return new NodeNamePatternConverter(); }
/** * Sets the node name. This is called before logging is configured if the * node name is set in elasticsearch.yml. Otherwise it is called as soon * as the node id is available. */ public static void setNodeName(String nodeName) { NodeNamePatternConverter.setNodeName(nodeName); }
/** * Called by log4j2 to initialize this converter. */ public static NodeNamePatternConverter newInstance(final String[] options) { if (options.length > 0) { throw new IllegalArgumentException("no options supported but options provided: " + Arrays.toString(options)); } return new NodeNamePatternConverter(); }