Log4j 2
  1. Log4j 2
  2. LOG4J2-532

Resource leak in Flume appender when it cannot create a BerkeleyDB db.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta9
    • Fix Version/s: 2.0-rc1
    • Component/s: Appenders
    • Labels:
      None
    • Environment:

      Description

      There is a rare but possible resource leak of a BerkeleyDB environment object in the Flume appender when it cannot create a BerkeleyDB db.

        Activity

        Hide
        Gary Gregory added a comment -
        commit -m "<action issue="LOG4J2-532" dev="ggregory" type="update">Resource leak in Flume appender when it cannot create a BerkeleyDB db.</action>" C:/vcs/svn/apache/log4j2/trunk/src/changes/changes.xml C:/vcs/svn/apache/log4j2/trunk/log4j-flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumePersistentManager.java
            Sending        C:/vcs/svn/apache/log4j2/trunk/log4j-flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumePersistentManager.java
            Sending        C:/vcs/svn/apache/log4j2/trunk/src/changes/changes.xml
            Transmitting file data ...
            Committed revision 1566186.
        
        Show
        Gary Gregory added a comment - commit -m "<action issue="LOG4J2-532" dev="ggregory" type="update">Resource leak in Flume appender when it cannot create a BerkeleyDB db.</action>" C:/vcs/svn/apache/log4j2/trunk/src/changes/changes.xml C:/vcs/svn/apache/log4j2/trunk/log4j-flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumePersistentManager.java Sending C:/vcs/svn/apache/log4j2/trunk/log4j-flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumePersistentManager.java Sending C:/vcs/svn/apache/log4j2/trunk/src/changes/changes.xml Transmitting file data ... Committed revision 1566186.

          People

          • Assignee:
            Gary Gregory
            Reporter:
            Gary Gregory
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development