DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=43682>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43682 Summary: JULI: web-inf/classes/logging.properties to support ${context} tag Product: Tomcat 6 Version: 6.0.14 Platform: Other OS/Version: other Status: NEW Severity: enhancement Priority: P2 Component: Catalina AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] It would be a good to have "${context}" placeholder variable in JULI logging.properties file. We could use it in a ".prefix" attribute to dynamically use webapp's name as a file prefix. Then if we have a web application, that can be installed 1...n copies to a same Tomcat, we could use it out-of-the-box and each having separate log files. com.outerrim.catalina.logger.FileHandler.prefix = ${context}. As it stands today, we must duplicate the webappname in a logging properties. webapps/mywebapp/WEB-INF/classes/logging.properties handlers = com.outerrim.catalina.logger.FileHandler com.outerrim.catalina.logger.FileHandler.directory = ${catalina.base}/logs com.outerrim.catalina.logger.FileHandler.prefix = mywebapp. webapps/my2ndwebapp/WEB-INF/classes/logging.properties handlers = com.outerrim.catalina.logger.FileHandler com.outerrim.catalina.logger.FileHandler.directory = ${catalina.base}/logs com.outerrim.catalina.logger.FileHandler.prefix = my2ndwebapp. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]