[logback-user] Help needed for File inclusion in logback with relative path

Renuka Pathak reshu.dp at gmail.com
Mon Aug 22 16:18:42 CEST 2011


>
> Hi All,
>
> I am looking for help in including outside file in logback.xml. It works
> when I use absolute path but does not work when I use relative path. I am
> using logback version 0.9.20. Below is the suedo code I am writing.
> LOGBACK_FILE_PATH is defined in env.properties. I also tried with <include
> resource=" "> but it does not work either.
>
> <configuration>
> <property resource="env.properties" />
>   <include file="${LOGBACK_FILE_PATH}/backendlogback.xml"/>
>
> </configuration>
>
> Any help is appreciated.
>
> Thanks & Regards,
> Renuka
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/logback-user/attachments/20110822/65273a50/attachment-0001.html>


More information about the Logback-user mailing list