logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Goers (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4J2-421) log4j2.xml configuration not loaded
Date Thu, 02 Jan 2014 07:12:50 GMT

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

Ralph Goers commented on LOG4J2-421:

Can you provide a sample project?

> log4j2.xml configuration not loaded
> -----------------------------------
>                 Key: LOG4J2-421
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-421
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Configurators
>    Affects Versions: 2.0-beta9
>            Reporter: Michal Stehlik
>              Labels: configuration, log4j2.xml, newbie
> I created sample project in Netbeans with log4j2 and it seams that log4j2.xml configuration
file was not loaded, even when I put this file in each package in my source code. Than I create
log4j2-test.xml and this file was loaded without any problem. According to documentation log4j2-test.xml
has higher priority than log4j2.xml. But anyway, when log4j2-test.xml is not presented, than
log4j2.xml configuration file should be loaded automatically and this never happened.

This message was sent by Atlassian JIRA

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

View raw message