Fix some logging for production

This commit is contained in:
2021-11-06 23:27:33 -04:00
parent b5dfbcc09b
commit d87377c25c
3 changed files with 5 additions and 5 deletions

View File

@@ -4,7 +4,7 @@
autoReload="true"
internalLogToConsole="true"
throwConfigExceptions="true"
internalLogLevel="Info" >
internalLogLevel="Trace" >
<variable name="MicrosoftLevel" value="${level:lowercase=true:truncate=4:when=level==LogLevel.Info or level==LogLevel.Warn}${when:when=level==LogLevel.Error:inner=fail}${when:when=level==LogLevel.Fatal:inner=crit}${when:when=level==LogLevel.Debug:inner=dbug}${when:when=level==LogLevel.Trace:inner=trce}" />
<variable name="MicrosoftLayout" value="${MicrosoftLevel}: ${logger}[${event-properties:EventId_Id:whenEmpty=0}]${newline} ${message}${onexception:inner=${newline}${exception:format=tostring}}" />