configure-audit-logging

Installation
SKILL.md

Configuring Audit Logging in ABP

ABP automatically creates one audit log object per web request. It records request/response details, executed actions (controller/app-service calls with parameters), entity changes, exceptions, and duration. Startup templates already add the UseAuditing() middleware and wire the Audit Logging module (which implements IAuditingStore to save to a database). Without a store, SimpleLogAuditingStore just writes to the standard logger.

When to Use

  • Enabling or disabling auditing globally via AbpAuditingOptions.
  • Auditing GET/HEAD requests, which are skipped by default.
  • Selecting which entities record change history (selectors or [Audited]/[DisableAuditing]).
  • Turning auditing off for a specific controller/app-service, or opting a non-controller class in.
  • Adding an AuditLogContributor to enrich the log.
  • Creating manual audit scopes with IAuditingManager.

When Not to Use

  • General application or UI logging / Serilog configuration — use the configure-logging skill instead.
  • Tracking setting or feature values — use the manage-settings-and-features skill instead.
  • Authoring background jobs, workers, or event handlers — use the background-jobs-and-events skill for that; auditing the code they run stays here (e.g. an IAuditingManager scope).
Installs
19
GitHub Stars
32
First Seen
Sep 5, 2026