NLog layout renderer for aspnet-user-identity not showing in log
I am trying to get the user identity from ASP.NET to log using NLog but it is not working. Nothing is logged for {aspnet-user-identity} or {aspnet-request-ip}. I have the layout renders in my nlog.config file, but the resulting log messages do not show values for the aspnet layout renderers. It’s not logging this information in the file or the database.
Is it posssible to ignore log with specific class name?
I’m using Nlog as a logger provider and nlog.config file with filters to ignore specific logs.
NLog.LogManager.GetLogger(string) returns the wrong logger
I’m noticing this behavior in an Asp.NET Core 8.0 application. This is some new behavior that is not present in .NET Framework 4.8