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

Chris Pratt thechrispratt at gmail.com
Mon Aug 22 17:33:37 CEST 2011

I'd bet that the current directory isn't what you think it is.
On Aug 22, 2011 7:18 AM, "Renuka Pathak" <reshu.dp at gmail.com> wrote:
>> 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
>> 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/69a24a4c/attachment.html>

More information about the Logback-user mailing list