[
https://issues.apache.org/jira/browse/LOG4J2-3303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17483794#comment-17483794
]
Ramanan Ravi commented on LOG4J2-3303:
--------------------------------------
[~vy] , [~rgoers] - thanks a lot for the clarification, that helps.
[~vy] - regarding the question on rolling of TB-scale files, my suggestion was
more on the usage of IfAccumulatedFileSize (as part of the Delete operation)
where we may want to delete accumulated log files once the specified size is
reached. Since we support GB values in SizeBasedTriggeringPolicy (where log
file size can be specified in GB), I thought it would be relevant to have
accumulated file size specified in TB. Further, the default value of
IfAccumulatedFileSize is Long.MAX_VALUE which is way greater than the actual TB
range itself. Please let me know if this answers your question and if so, I
shall go ahead and close this ticket as appropriate. Thanks in advance.
> Add support for FileSize in TB
> ------------------------------
>
> Key: LOG4J2-3303
> URL: https://issues.apache.org/jira/browse/LOG4J2-3303
> Project: Log4j 2
> Issue Type: Improvement
> Reporter: Ramanan Ravi
> Assignee: Volkan Yazici
> Priority: Minor
> Fix For: 2.17.2
>
>
> Currently the default value of 'exceeds' attribute of 'IfAccumulatedFileSize'
> is Long.MAX_VALUE, which is considerably larger than 1000 TB itself. Hence
> adding support for specifying 'exceeds' parameter in TB (TeraBytes) would be
> relevant.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)