logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Remko Popma (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4J2-1528) Serialize configuration into a log4j2.xml file
Date Thu, 18 Aug 2016 14:02:20 GMT

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

Remko Popma commented on LOG4J2-1528:
-------------------------------------

A method returning the current object as a string in some format is traditionally named {{toFormat}}
or {{asFormat}}. I don't think there's a convention for methods returning void that write
the current object into a parameter but {{writeAsFormat}} would be a good candidate. The current
name is ok too, although you may not need "File" at the end. It should _not_ be called toSomething
I think. 

> Serialize configuration into a log4j2.xml file
> ----------------------------------------------
>
>                 Key: LOG4J2-1528
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1528
>             Project: Log4j 2
>          Issue Type: New Feature
>          Components: Configurators
>    Affects Versions: 2.6.2
>            Reporter: Mikael Ståldal
>            Assignee: Mikael Ståldal
>
> This would be useful for e.g. converting from Log4j 1 to Log4j 2 config.



--
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