[ https://issues.apache.org/jira/browse/LOG4J2-1528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15425295#comment-15425295 ]
Mikael Ståldal commented on LOG4J2-1528: ---------------------------------------- It seems tricky to do this on an arbitrary {{org.apache.logging.log4j.core.config.Configuration}} object. However, doing it from {{org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilder}} is quite easy. See Git branch LOG4J2-1528. What do you 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-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org