logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neale Upstone (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (LOG4J2-293) classloader URI scheme broken or insufficient when using Log4jContextListener
Date Fri, 02 Aug 2013 09:03:49 GMT

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

Neale Upstone edited comment on LOG4J2-293 at 8/2/13 9:03 AM:
--------------------------------------------------------------

Hi Nick,

Just updated my Log4j2 branch to beta8 and config is apparently behaving.  I can't get much
further as until beta9, as what seems to be LOG4J2-304 breaks our build

Thanks. Neale
                
      was (Author: nealeu):
    Hi Nick,

Just updated my Log4j2 branch to beta8 and config is apparently behaving.  I can't get much
further as until beta9, as LOG4J2-304 breaks our build

Thanks. Neale
                  
> classloader URI scheme broken or insufficient when using Log4jContextListener
> -----------------------------------------------------------------------------
>
>                 Key: LOG4J2-293
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-293
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Configurators
>    Affects Versions: 2.0-beta7
>            Reporter: Neale Upstone
>            Assignee: Nick Williams
>              Labels: documentation
>
> I'm trying to migrate to Log4j2, and things looked promising when I spotted Log4jContextListener.
> However, there are too many holes.
> Firstly, I tried using classpath: as a scheme, and nothing blew up, so I assumed I'd
got it right.
> Then I *looked at the code* (which shouldn't be how we find out) and eventually discovered
some code relating to a 'classloader' scheme.
> Still silent failure.  It seems that the classpath is not being searched, perhaps just
the WAR classloader, not the JARs in WEB-INF/lib.
> Next I tried omitting the / (i.e. using classloader:log4j2.xml) and got a NullPointerException.
> Can you please document what schemes are supported and what you expect them to do, and
*not fail silently* when a configuration file is specified, but nothing happens.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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