Skip to content

Commit

Permalink
Remove log config that causes exception on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
joergrosenkranz committed Nov 1, 2024
1 parent 8dbae44 commit b945887
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LogInsights/nlog.config
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<variable name="logBaseDir" value="${specialfolder:LocalApplicationData}/${companyName}/${productTitle}/${appName}"/>

<variable name="layout" value="${longdate} ${level:upperCase=true} (${logger} ${event-context:item=SessionId}) : ${event-context:item=Indention}${message} ${exception:format=ToString,StackTrace}"/>
<variable name="remoteLayout" value="${longdate} ${level:upperCase=true} ${machinename} ${processname} ${windows-identity} (${logger} ${event-context:item=SessionId}) : ${event-context:item=Indention}${message} ${exception:format=ToString,StackTrace}"/>
<variable name="remoteLayout" value="${longdate} ${level:upperCase=true} ${machinename} ${processname} (${logger} ${event-context:item=SessionId}) : ${event-context:item=Indention}${message} ${exception:format=ToString,StackTrace}"/>
<targets>
<target name="logfile" xsi:type="File" fileName="${logBaseDir}/${appName}.log" layout="${layout}" encoding="utf-8" archiveFileName="${logBaseDir}/${appName}.{#}.log" maxArchiveFiles="7" archiveEvery="Day" archiveNumbering="Rolling"/>
</targets>
Expand Down

0 comments on commit b945887

Please sign in to comment.