log4net returns 'NOT AVAILABLE' only sometimes for items in HttpContext
<p>The environment is very simple where we're using Asp.Net MVC 5. log4net was configured as per documentation. </p>

<p>The transports used are file, logentries.com and database. And in all instances, the HttpContext items like ClientIpAddress or ServerName are returned as "NOT AVAILABLE" from log4net.</p>

<p>In the attached screenshot you see the logentries examples.</p>

<p>How/Why would it be coming back as this? How do we avoid it? The documentation doesn't seem to have anything on this :(</p>

<p><a href="https://i.stack.imgur.com/FRw23.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FRw23.png" alt="enter image description here"></a></p>

<p>Here's what we're using for the conversion pattern settings:</p>

<pre><code>&lt;layout type="log4net.Layout.PatternLayout"&gt;
    &lt;conversionPattern value="%date %level %thread %aspnet-request{ASP.NET_SessionId} %aspnet-request{AUTH_USER} ClientIpAddress='%aspnet-request{REMOTE_ADDR}' %newline%message%newline" /&gt;
  &lt;/layout&gt;
</code></pre>