From: Kevin G. <ke...@go...> - 2003-10-20 04:36:32
|
Mike, looking at the variable substitution stuff, when the PropertyConfigurator is reading the config file it decides if it's looking at a variable definition if the string on the left of the equals sign doesn't contain a dot: if($key !~ /\./) { But looking at the java stuff, it looks like the java people are rather used to putting dots into their variable names, for instance from their docs: if java.home system property is set to /home/xyz, then every occurrence of the sequence ${java.home} will be interpreted as /home/xyz I gather from the source of OptionConverter.java, (see findAndSubst()) that they treat the *entire* config file as a source of possible substitutions and don't distinguish between substitution-variable definitions and loggers and appenders and stuff. I don't know how useful that would be, but I have the feeling we'd be more compatible if we didn't screen on dots. What do you think? -- Happy Trails. . . Kevin M. Goess (and Anne and Frank) 904 Carmel Ave. Albany, CA 94706 (510)525-5217 |