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 "Kamal Bahadur (JIRA)" <ji...@apache.org> on 2014/07/17 18:47:05 UTC

[jira] [Updated] (LOG4J2-693) Flume Persistent Appender Should have a max limit on the number of events in the temp storage

     [ https://issues.apache.org/jira/browse/LOG4J2-693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kamal Bahadur updated LOG4J2-693:
---------------------------------

    Attachment: patch_LOG4J2-693.txt

Patch attached.

> 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
>         Attachments: patch_LOG4J2-693.txt
>
>
> 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: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org