[logback-user] Configuring logback with variable substitution

øyvind rotnes rotnes at gmail.com
Wed May 14 19:06:49 CEST 2008


Hi people!
I have an issue.
I want to use variable substitution to configure logback.xml, which
works fine. But I also want to set
substitutionProperty file value with the java -D argument when I start
up my server.

Some thing lige this:
java -Dlogback.config="/path/to/my/property/file"

<configuration debug="true">
<substitutionProperty file=${logback.properties} />



More information about the Logback-user mailing list