[logback-user] resend. logback include file can not be found

Ceki Gülcü ceki at qos.ch
Thu Mar 25 19:21:47 CET 2010

Hello Ted,

Could you please file a bug report with a test case?


On 25/03/2010 6:18 PM, Ted Meng wrote:
> Hi:
> I put an include directive in my logback.xml
> <configuration>
> <include file="includedConfig.xml" />
> </configuration>
> the "includedConfig.xml" is in the same directory (classpath)
> as the logback.xml file itself. But logback runtime keeps saying
> [java] 03:21:41,533 |-ERROR in
> ch.qos.logback.core.joran.action.IncludeAction - File
> [includedConfig.xml] does not exist. java.io.FileNotFoundException:
> logback.xml (The system cannot find the file specified)
> Using a absolute path is not a choice here so I wonder what would be the
> best way to do this or
> maybe I misunderstand something. I'd assume logback program would know
> the location of logback.xml
> so it would use it as the reference point to figure out any relative path.
> Thanks
> -Ted

More information about the Logback-user mailing list