You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2007/10/23 16:03:49 UTC
DO NOT REPLY [Bug 43682] New: - JULI: web-inf/classes/logging.properties to support ${context} tag
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: tomcat-dev@jakarta.apache.org
ReportedBy: mailmur@yahoo.com
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org