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 "Remko Popma (JIRA)" <ji...@apache.org> on 2014/02/28 16:16:24 UTC

[jira] [Commented] (LOG4J2-554) No easy way to point to a configuration file in the WEB-INF folder

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

Remko Popma commented on LOG4J2-554:
------------------------------------

I know anything you put under WEB-INF/classes is in the classpath, and jar/zip files under WEB-INF/lib are added to the classpath, but I'm not aware of any similar convention for WEB-INF/config. Is this folder treated as special by the web container?

> No easy way to point to a configuration file in the WEB-INF folder
> ------------------------------------------------------------------
>
>                 Key: LOG4J2-554
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-554
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Configurators
>    Affects Versions: 2.0-beta9
>         Environment: WildFly 8.0.0, JDK 1.7.0_45, WIn7
>            Reporter: Russell J. Nile
>            Priority: Minor
>
> I am trying to put all of my configuration files under WEB-INF/config folder but there is no way (other than an explicit reference to my file system) to set the log4jConfiguration to point to that.  It also does not report any errors when it can't find the file log4jConfiguration (unless there is a URI reference error) so you are scratching your head when it does nothing.  



--
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