Yes i can write a custom Middleware but i dont want to manage the logging part. Abp should provide this to me
Hi, I want to enable AuditLogging for some HttpGet methods, but I don’t want to enable it for all methods. Therefore, I don’t want to set IsEnabledForGetRequests to true. I added the [Audited] attribute to the methods where I want AuditLogging to be active, but it didn’t work. I also don’t want to set IsEnabledForGetRequests = true and block my controllers using IgnoredUrls, because I have too many controllers — I can’t manage that.
Is there a way to enable AuditLogging for only some HttpGet requests without writing any logging code inside the method?
Thanks.