0
j.verdurmen 1 year ago • updated 1 year ago 1

If we add something to the context, we have to remember which context we have added it. (global, thread)


It would be nice to have a context-render which search for the correct context and renders the first found.


The order should be something like:


Event (property) -> Thread -> ThreadLocal -> NDC -> Global -> Variable


So if we add "x" to the event (property) and the global context, printing "x" will print the one from the event.

  • The order should be also configurable.
  • It's unclear if the NDC should be in this list.


E.g.


${context:a}
${context:a:order=Global,Thread,Properties}