Skip to content

Introduced ${aspnet-request-aborted} to filter errors and warnings when RequestAborted - #1196

Merged
snakefoot merged 1 commit into
NLog:masterfrom
snakefoot:RequestAborted
Oct 24, 2026
Merged

snakefoot merged 1 commit into
NLog:masterfrom
snakefoot:RequestAborted

Conversation

@snakefoot

@snakefoot snakefoot commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor
<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)

@snakefoot snakefoot changed the title Introduced ${aspnet-request-aborted} to filer away errors and warnings when RequestAborted Introduced ${aspnet-request-aborted} to filter away errors and warnings when RequestAborted Oct 24, 2026
@snakefoot
snakefoot force-pushed the RequestAborted branch 4 times, most recently from 3b4f656 to 81df1a7 Compare October 24, 2026 14:04
@snakefoot snakefoot closed this Oct 24, 2026
@snakefoot snakefoot reopened this Oct 24, 2026
@sonarqubecloud

Copy link
Copy Markdown

@snakefoot
snakefoot merged commit 0f211b4 into NLog:master Oct 24, 2026
6 checks passed
@snakefoot snakefoot changed the title Introduced ${aspnet-request-aborted} to filter away errors and warnings when RequestAborted Introduced ${aspnet-request-aborted} to filter errors and warnings when RequestAborted Oct 24, 2026
@304NotModified 304NotModified added this to the 6.3 milestone Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants