logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Remko Popma (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4J2-537) application does not end.
Date Thu, 27 Feb 2014 23:24:20 GMT

    [ https://issues.apache.org/jira/browse/LOG4J2-537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13915194#comment-13915194
] 

Remko Popma commented on LOG4J2-537:
------------------------------------

The reason I asked is that I'm trying to understand what your full configuration is. 
This will help me when I try to reproduce this issue on my machine. 

Sorry, I did not understand your last comment. Can you clarify: when do you see this problem
(application process not ending)? Please tell me your configuration, system properties and
if possible a minimal application that reproduces the problem. 

> 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: jdk1.6.0_45 64bit
>            Reporter: moonumi
>            Assignee: Remko Popma
>              Labels: patch
>
> The helloworld program below does not end. (Process keeps running.)
> configuration:
> {code}
> <?xml version="1.0" encoding="UTF-8"?>
> <Configuration status="error">
>   <Appenders>
>     <Console name="Console" target="SYSTEM_OUT">
>       <ThresholdFilter level="ERROR" onMatch="ACCEPT" onMismatch="DENY"/>
>       <!-- Flow tracing is most useful with a pattern that shows location.
>            Below pattern outputs class, line number and method name. -->
>       <PatternLayout pattern="%d{HH:mm:ss.SSS} %-5level %class{36} %L %M - %msg%xEx%n"/>
>     </Console>
>     <File name="log" fileName="test.log" append="false">
>       <PatternLayout pattern="%d{HH:mm:ss.SSS} %-5level %class{36} %L %M - %msg%xEx%n"/>
>     </File>
>   </Appenders>
>   <Loggers>
>     <Root level="trace">
>       <AppenderRef ref="log"/>
>     </Root>
>   </Loggers>
> </Configuration>
> {code}
> source
> {code}
> import org.apache.logging.log4j.LogManager;
> import org.apache.logging.log4j.Logger;
>  
> public class HelloWorld {
>     private static Logger logger = LogManager.getLogger();
>     public static void main(String[] args) {
>         logger.info("Hello, World!");
>     }
> }
> {code}
> libs:
> disruptor-3.2.0.jar
> log4j-api-beta9.jar
> log4j-core-beta9.jar
> delete file appender and change [AppenderRef ref="Console"] in [Root] work fine.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message