Thanks, so in my example below ... what would I need to use for the
relative path?
On 08/11/2010 3:52 PM, Ceki Gülcü wrote:
Hello Dawson,
Contrary to spring for example, logback relative paths are relative to
the current working directory and not relative to the referencing file.
HTH,
On 08/11/2010 3:37 PM, Dawson Mossman wrote:
Has anyone had to do this type of thing before? If I cannot use a
relative path, are there recommendations for an alternative approach?
On 05/11/2010 5:24 PM, Dawson Mossman wrote:
I am trying to use the <property file="logback.properties" /> tag in
my logback.xml file to reference an external settings file. I want to
use a relative path and specify the file one level above my
application context. For example:
<web server root>/apps/myapplication/web-inf/classes/logback.xml
I want to put the logback.properties file at <web server root>/apps/.
Do you know what relative path I need to use to do this?
I've tried everything I can think of, including the following, but
they did not work:
<property file="../logback.properties" />
<property file="../../../logback.properties" />
<property file="/logback.properties" />
<property file="./logback.properties" />
Please help ... there has to be a way without using an absolute path!
Dawson
_______________________________________________
Logback-user mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-user
_______________________________________________
Logback-user mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-user