Class NoSqlAppender

    • Field Detail

      • description

        private final java.lang.String description
    • Constructor Detail

      • NoSqlAppender

        private NoSqlAppender​(java.lang.String name,
                              Filter filter,
                              Layout<? extends java.io.Serializable> layout,
                              boolean ignoreExceptions,
                              Property[] properties,
                              NoSqlDatabaseManager<?> manager)
    • Method Detail

      • createAppender

        @Deprecated
        public static NoSqlAppender createAppender​(java.lang.String name,
                                                   java.lang.String ignore,
                                                   Filter filter,
                                                   java.lang.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.