-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dashboard does not list requests when the controller has the Authorize attribute. #33
Comments
Hi Daniel, Can you please share from the Startup.cs file the |
Yes, |
In AspNetCore the order of the Middleware is important, and I suspect this might be the issue. I will need a copy of the physical log file which works ok, and the KissLog Internal Logs (you can save them to a
To simplify the code, can you temporary change the Startup.cs to the following, and see if this makes a difference? I copied the LogStartup.cs into the Startup.cs, and I also added the
|
The Kisslog log shows an invalid parameters error 'KissLog' 2021-01-21T13:42:14Z [Trace] RequestLogsApiListener: OnFlush begin In the request without Authorize Atribute The fisical log |
Thanks. Please trigger the request again WITH the Authorization attribute on (making it fail) |
Can you please try few more times? This time it should work |
Perfect. You helped me discover a misplaced validation rule on the server, thank you! |
I'm so happy for contribute, |
I am implementing kisslog in an API that I am developing and I am having a problem that I cannot say if it is a bug or if it is a problem with my implementations.
The problem is that when a controller method uses the Authorize attribute, the physical log is generated but the request is not listed on the dashboard.
It's OK
It's not OK
The text was updated successfully, but these errors were encountered: