Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.0
-
JPA appender
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
- is related to
-
LOG4J2-442 Log4j2 Database insert problem in Websphere
- Resolved
-
LOG4J2-407 JDBCAppender cannot recover from loss of database connectivity
- Resolved
-
LOG4J2-457 JDBCAppender does not release JDBC connections to the connection pool when WAR/EAR is stopped
- Resolved
-
LOG4J2-438 JDBCDatabaseManager does not send commit command
- Resolved
- relates to
-
LOG4J2-442 Log4j2 Database insert problem in Websphere
- Resolved
-
LOG4J2-407 JDBCAppender cannot recover from loss of database connectivity
- Resolved
-
LOG4J2-457 JDBCAppender does not release JDBC connections to the connection pool when WAR/EAR is stopped
- Resolved
-
LOG4J2-438 JDBCDatabaseManager does not send commit command
- Resolved