You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Ralph Goers (JIRA)" <ji...@apache.org> on 2014/01/02 08:12:50 UTC
[jira] [Commented] (LOG4J2-421) log4j2.xml configuration not loaded
[ 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
(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