[ https://issues.apache.org/jira/browse/LOG4J2-1528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15429764#comment-15429764 ]
Mikael Ståldal commented on LOG4J2-1528: ---------------------------------------- >From LoggerConfig: {code} // Note: for asynchronous loggers, includeLocation default is FALSE, // for synchronous loggers, includeLocation default is TRUE. protected static boolean includeLocation(final String includeLocationConfigValue) { if (includeLocationConfigValue == null) { final boolean sync = !AsyncLoggerContextSelector.isSelected(); return sync; } return Boolean.parseBoolean(includeLocationConfigValue); } {code} > 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