logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Goers (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4J2-1522) Log4j 1 layouts
Date Sat, 20 Aug 2016 20:11:21 GMT

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

Ralph Goers commented on LOG4J2-1522:
-------------------------------------

I have mixed feelings about this.  Conceptually they do belong with Log4j-1.2-api. But that
increases the requirement that log4j-1.2-api is dependent on log4j-core. There have been requests
to make log4j-1.2-api only be dependent on log4j-api, but I have never figured out how to
actually do that. Since I don't really see that happening soon I guess I am OK with they staying
in the log4j-1.2-api module.



> 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-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message