You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by William Noto <wn...@openfinance.com> on 2005/03/23 17:27:11 UTC
setting sys properties in context? yea / nay?
Hi there -
I have what I consider a Tomcat question but it lies somewhere between
tomcat and log4j. I've looked elsewhere in the log4j and tomcat user lists
and I have not been able to find an answer to this one but please forgive me
if it is out there and I missed it.
Can I set a system property in my Context? My understanding is that I can
set a JNDI property using the <Environment> tag, but not a system property?
The issue is that I would like to use this property in my log4j.properties
file, like this:
log4j.appender.fileout.File=${log.path}/logs/logfile.log
Any suggestions or links?
Thanks,
William