You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Chandu (Jira)" <ji...@apache.org> on 2020/02/23 07:29:00 UTC

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

Chandu created LOG4J2-2786:
------------------------------

             Summary: Creating a new file name every run when size of the file exceeds
                 Key: LOG4J2-2786
                 URL: https://issues.apache.org/jira/browse/LOG4J2-2786
             Project: Log4j 2
          Issue Type: Bug
            Reporter: Chandu


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)