Class NoSqlAppender

    • Method Detail

      • createAppender

        @Deprecated
        public static NoSqlAppender createAppender​(String name,
                                                   String ignore,
                                                   Filter filter,
                                                   String bufferSize,
                                                   NoSqlProvider<?> provider)
        Deprecated.
        since 2.11.0; use NoSqlAppender.Builder.
        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.