You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2004/08/25 12:14:11 UTC
DO NOT REPLY [Bug 30838] -
XML configuration files should not have thier values converted to Properties format
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=30838>.
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=30838
XML configuration files should not have thier values converted to Properties format
------- Additional Comments From ceki@apache.org 2004-08-25 10:14 -------
That is an interesting request.
Looking at the code, the conversion is performed within the
setParameter(Element, PropertySetter) method calling OptionConverter.
convertSpecialCharacters(String).
In some (if not most) cases, the user would want to have special characters
converted. For example, the user would probably prefer to have c:\\x.txt
converted to c:\x.txt. That is the current behavior.
However, she probably would not want to have c:\t.txt converted to "c:<TAB>.
txt".
One solution is to have an option set by the user in the config file to disable
the current special chratacters conversion. Would that work for you? Do you have
a better idea?
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org