Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

AuditLog not recorded when validation/authorization failure #280


User avatar
0
bill created

I have created some application services, which extends Abp ApplicationService. some methods are marked with AbpAuthorize attribute. also I have codes to enable audit log for both authorized & anonymous request.

Configuration.Auditing.IsEnabledForAnonymousUsers = true;
Configuration.Auditing.Selectors.Add(
        new NamedTypeSelector(
                    "Abp.ApplicationServices",
                    type => typeof(IApplicationService).IsAssignableFrom(type)
        )
);

I found the audit log has not been recorded in database if the validation or authorization failed.

any comment about it?


2 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    Hi,

    I know the issue: <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/516">https://github.com/aspnetboilerplate/as ... issues/516</a> It will be fixed in next version.

    Thanks.

  • User Avatar
    0
    bill created

    thanks for your response. :)