You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<nlogxmlns="http://www.nlog-project.org/schemas/NLog.xsd"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"autoReload="true"internalLogLevel="Warn"internalLogFile="${basedir}/log/internal-nlog.txt">
<!-- Load the ASP.NET Core plugin -->
<extensions>
<addassembly="NLog.Web.AspNetCore"/>
</extensions>
<!-- the targets to write to -->
<targets>
<targetxsi:type="File"name="appLog"fileName="${basedir}/log/${when:when='${environment:ASPNETCORE_ENVIRONMENT}'='Production':inner=${date:format=yyyyMMdd_HH}:else=${date:format=yyyyMMdd}}-mibarriofacil.log"keepFileOpen="false"layout="${longdate} | ${uppercase:${level}} | IP: ${aspnet-Request-Ip} | IsAuth: ${aspnet-user-isauthenticated} - U:${aspnet-user-claim:ULogin} - B:${aspnet-user-claim:BName}${newline} 		CallSite: ${callsite} | line: ${callsite-linenumber}${newline} 		${message} | ${exception:format=tostring} | Stack: ${stacktrace}${newline}"
/>
</targets>
<rules>
<!--Skip non-critical Microsoft logs and so log only own logs-->
<loggername="System.*"finalMinLevel="Warn" /> <!-- Insert at the top -->
<loggername="Microsoft.*"finalMinLevel="Warn" /> <!-- Insert at the top -->
<loggername="mbf.*"minlevel="Trace"writeTo="appLog" /> <!-- General app log -->
</rules>
</nlog>
Type (choose one):
NLog version: 5.3.9 / 5.3.10
NLog.Web.AspNetCore version: 5.3.9 / 5.3.10
NLog.Extensions.Logging version: 5.3.9 / 5.3.10
Platform: .NET 8.0
Current NLog config (xml or C#, if relevant)
In case of a BUG:
Did you checked the Internal log?
Yes, has no errors or warnings
Please post full exception details (message, stacktrace, inner exceptions)
There are no exceptions or warnings
Are there any workarounds?
No
Is there a version in which it did work?
It worked up to version 5.3.8
Can you help us by writing an unit test?
No
The text was updated successfully, but these errors were encountered: