I'm building a JSON log by using something like this in my xml config: <KeyValuePair key="ndc" value="$${ctx:ndc}"/>
If I use a single $, for one particular value, the value seems to be stuck at a constant. Other variables are fine. If I use a double $, then it seems to work in all scenarios. I guess I should be using $$ but why is it flaky with a single $. Documentation states "During initial configuration processing the first '$' will be removed.". In that case I'd expect it to be {ctx:ndc} and not some other string. Thanks --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org