[ https://issues.apache.org/jira/browse/LOG4J2-1528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15429774#comment-15429774 ]
Mikael Ståldal commented on LOG4J2-1528: ---------------------------------------- Has anyone tried to add a CustomLevel with ConfigurationBuilder? I think it is not implemented correctly. In {{DefaultCustomLevelComponentBuilder}}: {code} addAttribute("level", Integer.toString(level)); {code} Shouldn't that be "intLevel" to be consistent with {{CustomLevelConfig}}? > 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