moonumi created LOG4J2-537: ------------------------------ Summary: application does not end. Key: LOG4J2-537 URL: https://issues.apache.org/jira/browse/LOG4J2-537 Project: Log4j 2 Issue Type: Bug Components: Core Affects Versions: 2.0-beta9 Environment: program does not end.
confiugration 1.<?xml version="1.0" encoding="UTF-8"?> 2.<Configuration status="error"> 3. <Appenders> 4. <Console name="Console" target="SYSTEM_OUT"> 5. <ThresholdFilter level="ERROR" onMatch="ACCEPT" onMismatch="DENY"/> 6. <!-- Flow tracing is most useful with a pattern that shows location. 7. Below pattern outputs class, line number and method name. --> 8. <PatternLayout pattern="%d{HH:mm:ss.SSS} %-5level %class{36} %L %M - %msg%xEx%n"/> 9. </Console> 10. <File name="log" fileName="test.log" append="false"> 11. <PatternLayout pattern="%d{HH:mm:ss.SSS} %-5level %class{36} %L %M - %msg%xEx%n"/> 12. </File> 13. </Appenders> 14. <Loggers> 15. <Root level="trace"> 16. <AppenderRef ref="log"/> 17. </Root> 18. </Loggers> 19.</Configuration> source 1.import org.apache.logging.log4j.LogManager; 2.import org.apache.logging.log4j.Logger; 3. 4.public class HelloWorld { 5. private static Logger logger = LogManager.getLogger(); 6. public static void main(String[] args) { 7. logger.info("Hello, World!"); 8. } 9.} libs disruptor-3.2.0.jar log4j-api-beta9.jar log4j-core-beta9.jar jdk1.6.0_45 64bit delete file appender and change [AppenderRef ref="Console"] in [Root] work fine. Reporter: moonumi helloworld program does not end. -- This message was sent by Atlassian JIRA (v6.1.5#6160) --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org