ASP.NET Core 8.0 MVC web app & IIS 10 – how to include the user name in the IIS log when the cookie authentication is used?
I have an ASP.NET Core 8.0 MVC app running on IIS 10 and which uses cookie authentication. I noticed that IIS doesn’t include the user name in the log after the user is authenticated. Logging the user name in the IIS log is enabled.
Asp.Net Core web app & IIS 10 – how to include the user name in the IIS log when the cookie authentication is used?
I have a .Net8 Asp.Net Core app running in IIS 10 and which uses the cookie authentication. I noticed that IIS doesn’t include the user name in the log after the user is authenticated. Logging the user name in the IIS log is enabled.