You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Ralph Goers (Jira)" <ji...@apache.org> on 2020/04/17 22:05:00 UTC

[jira] [Resolved] (LOG4J2-2787) Creating a new file name every run when size of the file exceeds

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

Ralph Goers resolved LOG4J2-2787.
---------------------------------
    Resolution: Information Provided

Please close if this solves the issue, other reopen with new information. However, Jira is not really the best forum to ask questions like this. You should use the user's list or stackoverflow.

> Creating a new file name every run when size of the file exceeds
> ----------------------------------------------------------------
>
>                 Key: LOG4J2-2787
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-2787
>             Project: Log4j 2
>          Issue Type: Bug
>            Reporter: Chandu
>            Priority: Blocker
>
> I would like to create a different file name when given file size exceeds int the xml file. I can do this in Log4j 1.x using Setfile method by extending RollingFileAppender class. Most of the classes in Log4j2 are made as Final. So I cant change the file name every time when size exceeds in Log4j2.
> Please help me in identifying the way to do this.
>  



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