You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Borut BolĨina <bo...@najdi.si> on 2005/11/11 10:07:40 UTC
log4j configureAndWatch
Hello,
I am using log4j in my web app and it works just fine.
Now I want my my app to be dynamically configurable by log4j's
PropertyConfigurator.configureAndWatch method which takes String
parameter for log4.properties file location and optionally a time
interval to check for changes in the config file.
I am calling this method in my application ASO and it works if I provide
an *absolute* path to log4j.properties file which is in web app's
WEB-INF/classes. Why it doesn't work by just setting "log4j.properties"
as the parameter? It is on the class path.
How can I get an absolute path in application ASO class if there is no
other solution?
Thanks,
Borut
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org