<include> does not search classpath

Logback searches the classpath for logback.xml or logback-test.xml, but when using <include> there is no way to specify a resource to include (ie something in a jar file) that is on the classpath. <include> is limited to file (explicit file location) or a url (which doesn't allow just a file name). Please add another mechanism for <include> to search the classpath for the file to be included: <include resource="xxx.xml"/> Thanks, Michael

Hi Michael, Sounds like a reasonable request. I'd appreciate if you could file a bug report for this. Newcomb, Michael-P57487 wrote:
Logback searches the classpath for logback.xml or logback-test.xml, but when using <include> there is no way to specify a resource to include (ie something in a jar file) that is on the classpath.
<include> is limited to file (explicit file location) or a url (which doesn't allow just a file name).
Please add another mechanism for <include> to search the classpath for the file to be included: <include resource="xxx.xml"/>
Thanks, Michael _______________________________________________ Logback-user mailing list Logback-user@qos.ch http://qos.ch/mailman/listinfo/logback-user
-- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging framework for Java. http://logback.qos.ch

http://bugzilla.qos.ch/show_bug.cgi?id=89 Patch included.
-----Original Message----- From: logback-user-bounces@qos.ch [mailto:logback-user-bounces@qos.ch] On Behalf Of Ceki Gulcu Sent: Wednesday, August 08, 2007 4:51 PM To: logback users list Subject: Re: [logback-user] <include> does not search classpath
Hi Michael,
Sounds like a reasonable request. I'd appreciate if you could file a bug report for this.
Newcomb, Michael-P57487 wrote:
Logback searches the classpath for logback.xml or logback-test.xml, but when using <include> there is no way to specify a resource to include (ie something in a jar file) that is on the classpath.
<include> is limited to file (explicit file location) or a url (which doesn't allow just a file name).
Please add another mechanism for <include> to search the classpath for the file to be included: <include resource="xxx.xml"/>
Thanks, Michael _______________________________________________ Logback-user mailing list Logback-user@qos.ch http://qos.ch/mailman/listinfo/logback-user
-- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging framework for Java. http://logback.qos.ch _______________________________________________ Logback-user mailing list Logback-user@qos.ch http://qos.ch/mailman/listinfo/logback-user
participants (2)
-
Ceki Gulcu
-
Newcomb, Michael-P57487