You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/08/25 22:36:00 UTC

[jira] [Commented] (LOG4J2-3150) RandomAccessFile appender uses incorrect default buffer size

    [ https://issues.apache.org/jira/browse/LOG4J2-3150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17404749#comment-17404749 ] 

ASF subversion and git services commented on LOG4J2-3150:
---------------------------------------------------------

Commit 5a940e05b9cf48e1c3522be59fb876ddb38d261e in logging-log4j2's branch refs/heads/release-2.x from Carter Kozak
[ https://gitbox.apache.org/repos/asf?p=logging-log4j2.git;h=5a940e0 ]

LOG4J2-3150: RandomAccessFileAppender uses the correct default buffer size


> RandomAccessFile appender uses incorrect default buffer size
> ------------------------------------------------------------
>
>                 Key: LOG4J2-3150
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-3150
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Appenders
>    Affects Versions: 2.14.1
>            Reporter: Carter Kozak
>            Assignee: Carter Kozak
>            Priority: Major
>             Fix For: 2.15.0
>
>
> RandomAccessFileAppender should useĀ 
> RandomAccessFileManager.DEFAULT_BUFFER_SIZE as a default on the builder, however this field is only referenced by the deprecated factory function methods. This should be set in a new public no-arg constructor (which the rolling variant does correctly)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)