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

Stamatis Zampetakis commented on LOG4J2-3001:
---------------------------------------------

Thanks for taking the time to look into this [~rgoers]. After opening the jira 
I also though it a bit more and I have the same feeling with you in the end. 
Finally, for my use-case I implemented a custom appender (extending 
{{AbstractOutputStreamAppender}}) where I have finer control of this and other 
aspects and it is more appropriate in the end than using the rolling appender 
with many parameters.

> Support rollover after appending event
> --------------------------------------
>
>                 Key: LOG4J2-3001
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-3001
>             Project: Log4j 2
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 2.14.0
>            Reporter: Stamatis Zampetakis
>            Priority: Major
>
> Rollover actions are triggered based on a LogEvent and the rollover if 
> necessary is performed before appending the actual log event. Currently, it 
> is not possible to first append the log event and then perform the rollover 
> if necessary. In some situations it is necessary to have finer control on 
> when the rollover is performed.



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

Reply via email to