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 2011/05/24 00:43:20 UTC
DO NOT REPLY [Bug 51249] JULI ClassLoaderLogManager doesn't properly
handle ${} when replacing property values
https://issues.apache.org/bugzilla/show_bug.cgi?id=51249
Konstantin Kolinko <kn...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|Manager application |Catalina
Version|unspecified |6.0.32
Summary|LogManager doesn't properly |JULI ClassLoaderLogManager
|handle ${} when replacing |doesn't properly handle ${}
|property values |when replacing property
| |values
OS/Version| |All
Severity|major |minor
--- Comment #1 from Konstantin Kolinko <kn...@gmail.com> 2011-05-23 22:43:20 UTC ---
I see. Please be more specific next time: you are referring to the source code
of method replace(String) of class org.apache.juli.ClassLoaderLogManager.
I acknowledge the issue with indexOf.
> There is not even a way to "escape" the ${} chars if we'd like to output them.
You can define a system property that expands to ${} or to ${ or whatever. As
you might see from the code, the replacement text is used "as is" and is not
searched further for replacement characters.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org