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

Gary Gregory updated LOG4J2-1522:
---------------------------------
    Description: 
Support all layouts in Log4j 1 to the extent possible an reasonable.

* {{PatternLayout}} and {{EnhancedPatternLayout}} are mapped to 
{{PatternLayout}}. We provide two new pattern conversions for the Log4j 1 
format of NDC and MDC.
* {{SimpleLayout}} is mapped to {{PatternLayout}} "%level - %m%n"
* {{TTCCLayout}} is mapped to {{PatternLayout}}
* {{HTMLLayout}} is mapped to {{HtmlLayout}} (will not look exactly the same, 
but close enough)
* {{XMLLayout}} is ported ({{XmlLayout}} in Log4j 2 is different and will not 
work)

  was:
Support all layouts in Log4j 1 to the extent possible an reasonable.

* PatternLayout and EnhancedPatternLayout are mapped to PatternLayout. We 
provide two new pattern conversions for the Log4j 1 format of NDC and MDC.
* SimpleLayout is mapped to PatternLayout "%level - %m%n"
* TTCCLayout is mapped to PatternLayout
* HTMLLayout is mapped to HtmlLayout (will not look exactly the same, but close 
enough)
* XMLLayout is ported (XmlLayout in Log4j 2 is different and will not work)


> Log4j 1 layouts
> ---------------
>
>                 Key: LOG4J2-1522
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1522
>             Project: Log4j 2
>          Issue Type: Sub-task
>          Components: Layouts
>            Reporter: Mikael Ståldal
>            Assignee: Mikael Ståldal
>             Fix For: 2.7
>
>
> Support all layouts in Log4j 1 to the extent possible an reasonable.
> * {{PatternLayout}} and {{EnhancedPatternLayout}} are mapped to 
> {{PatternLayout}}. We provide two new pattern conversions for the Log4j 1 
> format of NDC and MDC.
> * {{SimpleLayout}} is mapped to {{PatternLayout}} "%level - %m%n"
> * {{TTCCLayout}} is mapped to {{PatternLayout}}
> * {{HTMLLayout}} is mapped to {{HtmlLayout}} (will not look exactly the same, 
> but close enough)
> * {{XMLLayout}} is ported ({{XmlLayout}} in Log4j 2 is different and will not 
> work)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to