Github user mdvorak commented on the issue:

    https://github.com/apache/logging-log4j2/pull/110
  
    @mikaelstaldal Yeah i figured after digging deeper. Implemented it with 
correct support.
    
    Only thing that bugs me is that dynamically created LinkedHashMap - thats 
wasteful and expensive (I know Jackson alone is not exactly garbage-free, but 
still).
    
    I'm thinking about using `ThreadLocal`s, but I understand there are both 
potentional memory leaks, and Log4j alone has special policies about that 
(`log4j2.enable.threadlocals`), and I don't have atm time to dive into that. 
Any ideas? Or do you consider it fine as it is? 


---

Reply via email to