I need help with logging in terms of MVC flow.
I have an securely authenticated Web API which people try to access. Because of restricted access to Web API methods, some people do not have access to it at all ([Authorize(roles=Admin)]
and other role based attribute restrict access). But I want to log attempts by people to access it, even if they are not successful.
What would be the way to do it in an enterprise application? No vague answers please.