Skip to content
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
This repository was archived by the owner on Dec 14, 2018. It is now read-only.

Does ControllerActionInvoker need to use LogLevel.Warning when an authorize filter fails? #5124

Closed
@tuespetre

Description

@tuespetre

Just wondering because we get a lot of log pollution from this (filtering LogLevel.Information and lower out in production.) We can definitely filter out this specific message but, at least for us, LogLevel.Warning seems excessive for this message. For reference, we have a slew of applications using an internal OAuth provider with a short-lived token (to keep permissions up-to-date with minimal need to ask a user to clear cookies, etc.) Because most of our apps are authenticated-only (and automatically so), we get this message all the time.

I could see this being excessive for other scenarios as well:

  • Users navigating to a 'my account details' page on a shopping site
  • Users clicking 'send message to this user' or 'post reply' on a social/discussion site
  • Users bookmarking a specific page that happens to require them to be logged in

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions