Class NoSqlAppender

    • Method Detail

      • createAppender

        @PluginFactory
        public static NoSqlAppender createAppender​(@PluginAttribute("name")
                                                   java.lang.String name,
                                                   @PluginAttribute("ignoreExceptions")
                                                   java.lang.String ignore,
                                                   @PluginElement("Filter")
                                                   Filter filter,
                                                   @PluginAttribute("bufferSize")
                                                   java.lang.String bufferSize,
                                                   @PluginElement("NoSqlProvider")
                                                   NoSqlProvider<?> provider)
        Factory method for creating a NoSQL appender within the plugin manager.
        Parameters:
        name - The name of the appender.
        ignore - If "true" (default) exceptions encountered when appending events are logged; otherwise they are propagated to the caller.
        filter - The filter, if any, to use.
        bufferSize - If an integer greater than 0, this causes the appender to buffer log events and flush whenever the buffer reaches this size.
        provider - The NoSQL provider that provides connections to the chosen NoSQL database.
        Returns:
        a new NoSQL appender.