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?