[ 
http://jira.qos.ch/browse/LBCLASSIC-68?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ceki Gulcu resolved LBCLASSIC-68.
---------------------------------

    Fix Version/s: 0.9.10
       Resolution: Fixed

fixed in 1787

This issue is known to be complicated and thorny. I am sure revision 1787 is 
not the last word on the topic.

> logback.xml not found when running under Ant task
> -------------------------------------------------
>
>                 Key: LBCLASSIC-68
>                 URL: http://jira.qos.ch/browse/LBCLASSIC-68
>             Project: logback-classic
>          Issue Type: Bug
>          Components: Other
>    Affects Versions: 0.9.9
>         Environment: Ant 1.7.1
>            Reporter: Gili
>            Assignee: Logback dev list
>             Fix For: 0.9.10
>
>
> Logback uses the thread context ClassLoader to look up logback.xml but the 
> Ant uses a custom ClassLoader that does not have the task JAR in its 
> classpath, as a result logback.xml is never found.
> That is, getClass().getClassLoader().getResource("logback.xml") works
> Thread.currentThread().getContextClassLoader().getResource("logback.xml") 
> does not.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
logback-dev mailing list
logback-dev@qos.ch
http://qos.ch/mailman/listinfo/logback-dev

Reply via email to