[
https://issues.apache.org/jira/browse/LOG4J2-1528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15467261#comment-15467261
]
Mikael Ståldal edited comment on LOG4J2-1528 at 9/6/16 12:47 PM:
-----------------------------------------------------------------
I have reverted {{DefaultConfigurationBuilder}} to use
{{System.lineSeparator()}}, which should solve the problem.
I changed the unit test {{ConfigurationBuilderTest}} to not run on Windows, and
added a TODO to fix it. Someone who uses Windows have to fix that.
was (Author: mikaelstaldal):
Then someone who use Windows have to change the {{EOL}} constant in
{{DefaultConfigurationBuilder}} to {{System.lineSeparator()}} and do whatever
it takes to make the unit test {{ConfigurationBuilderTest}} pass on Windows.
> 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
> Fix For: 2.7
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]