We've create a class ClLogFileAppender that extends RollingFileAppender.
This class include other log type Files specific for our project. 
Example (Zip file,archive logs file, compress file, remove compressed file) and 
so on.
You extend that class in order to enlarge log type files.

 

On 2020/02/19 15:19:28, Ralph Goers <ralph.go...@dslextreme.com> wrote: 
> Did you rewrite Log4j 1?
> 
> As I said in my previous email it would be better if you explained what 
> customizations you had to do and why so we could explain the correct approach 
> for Log4j 2.  Trying to just port your Log4j 1.x customizations to Log4j 2 is 
> not the correct approach.
> 
> Yes, RollingFileAppender is final. You would have to tell us what you were 
> trying to customize before we can tell you how to do it.
> 
> Ralph
> 
> > On Feb 19, 2020, at 8:00 AM, EDMONDO SENA <edse...@gmail.com> wrote:
> > 
> > Hi,
> > 
> > it seems that is not possible to extend it in log4j2, because apache have 
> > made it a final class in log4j2. In earlier version of log4j was possible 
> > easily extends it. 
> > This migration steps also doesn't specify how to move this functionality to 
> > log4j2.
> > 
> > Can you write me how fix it?
> > 
> > Thanks.
> > //Edmondo.
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
> > For additional commands, e-mail: log4j-user-h...@logging.apache.org
> > 
> > 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
> For additional commands, e-mail: log4j-user-h...@logging.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-user-h...@logging.apache.org

Reply via email to