Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-2349

CassandraAppender does not write according to buffer size

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.11.0
    • None
    • Appenders
    • None
    • Important

    Description

      According to documentation

      https://logging.apache.org/log4j/2.x/manual/appenders.html#CassandraAppender

      , log should be written when bufferSize is reached. The buffer is cleared, but the 

      batchStatement in CassandraManager does not seem to be reset, resulting in accumulating the statements foreverer ( or until Casandra exception for batch size limit ) .

      Attachments

        Activity

          People

            Unassigned Unassigned
            octopus Ludek Suchanek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: