Open Closed

ABP Get Request logs #5192


User avatar
0
guven.uysall created
  • ABP Framework version: v6.3.3
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no

ABP logs successful POST requests. But it does not log successful get requests. How can I log get requests. Let abp log automatically. I don't write manual code

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

1 Answer(s)
  • User Avatar
    0
    nlachmuthDev created

    You can configure the audit functionality to log get requests.

    add this to your ConfigureServices method inside your module:

    Configure<AbpAuditingOptions>(options =>
    {
        options.IsEnabledForGetRequests = true; //Enable auditing for get requests
    });
    

    You can find a full list of available options for audit logging here: https://docs.abp.io/en/abp/latest/Audit-Logging#abpauditingoptions

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.