[
https://issues.apache.org/jira/browse/LOG4J2-693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14045010#comment-14045010
]
Ralph Goers commented on LOG4J2-693:
------------------------------------
This seems reasonable. The persistent manager already maintains a count of the
number of items so it should be fairly simple to enable this behavior.
A patch would be welcome!
> Flume Persistent Appender Should have a max limit on the number of events in
> the temp storage
> ---------------------------------------------------------------------------------------------
>
> Key: LOG4J2-693
> URL: https://issues.apache.org/jira/browse/LOG4J2-693
> Project: Log4j 2
> Issue Type: Improvement
> Components: Appenders
> Reporter: Kamal Bahadur
> Priority: Minor
>
> We use flume appender with persistent option. If flume agent becomes not
> accessible for some reason, the appender should stop accepting logs and throw
> exception instead of continuing to accept events and then run out of disk
> space.
> A max limit option on the number of events yet to be processed will be help
> full. This will ensure that we will never exceed the number of events stored
> on disk.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]