Velocity Properties -


i have webapp uses velocity logging. velocity.properties file has 2 lines:

runtime.log = ${solr.config}/../logs/browse.log runtime.log.logsystem.class=org.apache.velocity.runtime.log.simplelog4jlogsystem 

solr.config property defined in webapp. when webapp built, ${solr.config} updated property value.

is possible "remodel" solr.config system property (thus allowing me set log file dir @ runtime)? e.g. lets call prop solr.config.sys, possible runtime env work out following:

runtime.log=${solr.config.sys}/logs/preview.log

, testing far shows velocity looks "${solr.config.sys}/logs/preview.log" , not attempt replace system property. did similar before in log4j using system property define logging directory.

thanks.

it appear not possible: http://mail-archives.apache.org/mod_mbox/velocity-user/200503.mbox/%3c376e3b1405032910443141616c@mail.gmail.com%3e


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -