You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Volkan Yazici (Jira)" <ji...@apache.org> on 2021/12/21 13:05:00 UTC

[jira] [Updated] (LOG4J2-3252) Not able to implement FileAppender in log4j2 with layout

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

Volkan Yazici updated LOG4J2-3252:
----------------------------------
    Issue Type: Question  (was: Bug)

> Not able to implement FileAppender in log4j2 with layout
> --------------------------------------------------------
>
>                 Key: LOG4J2-3252
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-3252
>             Project: Log4j 2
>          Issue Type: Question
>            Reporter: Arunkumar K
>            Priority: Critical
>         Attachments: log4j2.png
>
>
> I had implementation of Fileappender in log4j. Now I planned to move it to log4j2. I am not able to implement in log4j2 as we are using pattern layout, consoleappender, addapendr method along with this. in log4j.jar the import for file appender is: import org.apache.log4j.FileAppender; but in log4j2, the import is: import org.apache.logging.log4j.core.appender.FileAppender; Can anyone help for new implementation?



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