https://issues.apache.org/bugzilla/show_bug.cgi?id=43682
--- Comment #2 from Konstantin Kolinko <knst.koli...@gmail.com> --- I think a possible way to go is in two steps: 1. Allow ${jndi:...} properties in WEB-INF/classes/logging.properties file. E.g. LogBack has similar feature. See 2013-03 thread "Register static JNDI env entry dynamically" on users@ for an example. http://markmail.org/message/6tvf3qiw32die2oc 2. Allow ${catalina.context.xxx} substitutions in context.xml files, so that one could use it in an <Environment> element to configure a value for JNDI. An open question to me is what kinds of '.xxx' are needed, to get something usable from a context name. Something like '.baseName', '.displayName', '.name', '.path', '.version'. http://tomcat.apache.org/tomcat-7.0-doc/api/org/apache/catalina/util/ContextName.html#method_summary http://tomcat.apache.org/tomcat-7.0-doc/config/context.html#Naming Another solution for this step can be a Listener, like shown in above mentioned thread. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org