Ceki, I wanted to discuss this with you on IRC but I see that #logback is
now empty. Do you have any ideas on how I can begin to debug this problem?
I'm at a loss.

Thanks,
Gili



cowwoc wrote:
> 
> Hi,
> 
> I've got a library that uses Logback through slf4j. When I invoke methods
> directly logging works just fine, but when I invoke Ant tasks that, in
> turn, invoke those methods logback.xml isn't being found and the default
> configuration is being used.
> 
> I am at a loss as to what is different between the two configurations.
> When I run under Ant
> 
>      getClass().getResourceAsStream("/logback.xml")
> 
> finds the file just fine, yet
> 
>               LoggerContext lc = (LoggerContext) 
> LoggerFactory.getILoggerFactory();
>               StatusPrinter.print(lc);
> 
> prints out:
> 
>      05:08:51,098 |-INFO in
> [EMAIL PROTECTED] - Setting up default
> configuration.
> 
> How do I debug this problem further in order to figure out what is going
> wrong?
> 
> Thank you,
> Gili
> 

-- 
View this message in context: 
http://www.nabble.com/logback.xml-not-working-inside-Ant-task-tp19158480p19192953.html
Sent from the Logback User mailing list archive at Nabble.com.

_______________________________________________
Logback-user mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-user

Reply via email to