Log4j 2
  1. Log4j 2
  2. LOG4J2-401

Configure FileAppender buffer size

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta8
    • Fix Version/s: 2.0-rc1
    • Component/s: API, Appenders
    • Environment:

      LOG4J2-beta8, java 1.7, eclipse kepler, windows xp..

      Description

      Add feature for Appenders to support buffer, which will store log in to memory(app/system) and write in to file when it reaches buffer size provided.
      (http://stackoverflow.com/questions/18785611/way-to-implement-buffered-io-using-log4j2)

      this is possible?

      If this feature is already available, could you please provide me reference for it?.

      Thanks in advance.

        Issue Links

          Activity

          Chandra Sekhar Kakarla created issue -
          Chandra Sekhar Kakarla made changes -
          Field Original Value New Value
          Original Estimate 360h [ 1296000 ] 96h [ 345600 ]
          Remaining Estimate 360h [ 1296000 ] 96h [ 345600 ]
          Gary Gregory made changes -
          Assignee Gary Gregory [ garydgregory ]
          Gary Gregory made changes -
          Assignee Gary Gregory [ garydgregory ]
          Gary Gregory made changes -
          Summary Appenders to support buffer, which will store log in memory and write the log when size reaches buffer size provided. Configure FileAppender buffer size
          Gary Gregory made changes -
          Link This issue is a clone of LOG4J2-402 [ LOG4J2-402 ]
          Hide
          Gary Gregory added a comment -
          commit -m "[LOG4J2-401] Configure FileAppender buffer size." (6 paths specified)
              Sending        C:/vcs/svn/apache/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/FileAppender.java
              Sending        C:/vcs/svn/apache/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/FileManager.java
              Sending        C:/vcs/svn/apache/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/FileAppenderTest.java
              Sending        C:/vcs/svn/apache/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/layout/PatternLayoutTest.java
              Sending        C:/vcs/svn/apache/log4j2/trunk/src/changes/changes.xml
              Sending        C:/vcs/svn/apache/log4j2/trunk/src/site/xdoc/manual/appenders.xml
              Transmitting file data ...
              Committed revision 1523770.
          
          Show
          Gary Gregory added a comment - commit -m "[LOG4J2-401] Configure FileAppender buffer size." (6 paths specified) Sending C:/vcs/svn/apache/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/FileAppender.java Sending C:/vcs/svn/apache/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/FileManager.java Sending C:/vcs/svn/apache/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/FileAppenderTest.java Sending C:/vcs/svn/apache/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/layout/PatternLayoutTest.java Sending C:/vcs/svn/apache/log4j2/trunk/src/changes/changes.xml Sending C:/vcs/svn/apache/log4j2/trunk/src/site/xdoc/manual/appenders.xml Transmitting file data ... Committed revision 1523770.
          Gary Gregory made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Gary Gregory made changes -
          Assignee Gary Gregory [ garydgregory ]
          Fix Version/s 2.0-rc1 [ 12325011 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          12h 19m 1 Gary Gregory 16/Sep/13 20:35

            People

            • Assignee:
              Gary Gregory
              Reporter:
              Chandra Sekhar Kakarla
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 96h
                96h
                Remaining:
                Remaining Estimate - 96h
                96h
                Logged:
                Time Spent - Not Specified
                Not Specified

                  Development