You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2003/03/19 22:02:49 UTC
DO NOT REPLY [Bug 18163] New: -
bug in the flushBuffer method of JDBCAppender
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18163>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18163
bug in the flushBuffer method of JDBCAppender
Summary: bug in the flushBuffer method of JDBCAppender
Product: Log4j
Version: unspecified
Platform: All
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Appender
AssignedTo: log4j-dev@jakarta.apache.org
ReportedBy: apvolkov@hotmail.com
If the Database is not available then the buffer will never be flushed and
SystemOutOfMemoryException will be thrown. To correct, enclose for loop in the
try block, leave catch as it is, and enclose "buffer.removeAll(removesLocal)"
in the finally block.
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-dev-help@jakarta.apache.org