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

Janardhan Naidu commented on LOG4J2-3388:
-----------------------------------------

Thank you both for real quick response.  

[~ppkarwasz] ,  
[OutputStreamAppender|https://logging.apache.org/log4j/2.x/log4j-core/apidocs/org/apache/logging/log4j/core/appender/OutputStreamAppender.html]
  is also final!.. We cannot extend it.. 

[~rgoers] , you are correct, we need to remove 1.x and move to 2.x completely. 
can you please provide the documentation where I can refer and configure 
appenders(file apender/rolling appender), Patter parsers etc, that you be 
really helpful. 

> Migration from log4j1.x to log4j2.x
> -----------------------------------
>
>                 Key: LOG4J2-3388
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-3388
>             Project: Log4j 2
>          Issue Type: Question
>            Reporter: Janardhan Naidu
>            Priority: Major
>
> We are planning to upgrade log4j1.x to log4j2.x.
> So we went through the migration document: 
> [https://logging.apache.org/log4j/2.x/manual/migration.html] 
> in the above document, It says that (They must not access methods and classes 
> internal to the Log4j 1.x implementation such as Appenders, LoggerRepository 
> or Category’s callAppenders method.) 
> and In our product, currently we are using log4j1.x and we are extending some 
> of the log4j1.x classes like PatternParser, FileAppender etc... which were 
> made final in log4j2.x  so can we make use of Log4j 1.x bridge.?  If yes how 
> we can do that.
>  
> what could be the better option to migrate log4j 1.x to log4j 2.x as we are 
> making use of log4j internal classes? 
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to