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

Should JPADatabaseManager being using so many transactions?

    Details

      Description

      Even when the appender is buffered, every log event is still committed each time. In JDBCAppender, when it's buffered, log events aren't inserted into the database until the buffer is full.

      I tried to address this while I was working on another patch, but there's no good way to generate an EntityTransaction without the EntityManager, and that's recreated each time writeInternal() is called.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                beamerblvd Nick Williams
                Reporter:
                jvz Matt Sicker
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: