[logback-user] <include> does not search classpath

Newcomb, Michael-P57487 Michael.Newcomb at gdc4s.com
Tue Aug 7 22:19:23 CEST 2007


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



More information about the Logback-user mailing list