title: How to include LogicalThreadContext into logging output?
body: <p>From <code>LogicalThreadContext</code> documentation:</p>
  
  <blockquote>
    <p>The Logical Thread Context has a properties map and a stack. The
    properties and stack can be included in the output of log messages.
    The PatternLayout supports selecting and outputting these properties.</p>
  </blockquote>
  
  <p>But <code>%x</code> pattern doesn't output anything from <code>LogicalThreadContext.Stacks["LDC"]</code>. And I can't find any pattern in <a href="https://logging.apache.org/log4net/log4net-1.2.13/release/sdk/log4net.Layout.PatternLayout.html" rel="nofollow">docs</a> to output it.</p>
  
  <p>How to include it to logs?</p>