Visitar URL original
AspNetRequest RequestAborted Layout Renderer · NLog/NLog Wiki · GitHub
Skip to content

AspNetRequest RequestAborted Layout Renderer

Julian Verdurmen edited this page Nov 10, 2026 · 1 revision
<logger name="*" minlevel="Error" writeTo="appFile">
  <filters defaultAction="Log">
    <when condition="equals('${aspnet-request-aborted}', '1')" action="Ignore" />
  </filters>
</logger>

Notice request-aborted can be a symptom of slow performance, which can be relevant to investigate if app-performance is important (and not to be swept under the carpet)

Introduced in NLog.Web and NLog.Web.AspNetCore 6.3.0

Clone this wiki locally