mirror of https://github.com/duggerd/KFDtool.git
Log GUI errors to ProgramData
This commit is contained in:
parent
33c215d06a
commit
9f0a6b894e
|
@ -23,8 +23,7 @@
|
|||
See https://github.com/nlog/NLog/wiki/Layout-Renderers for the possible layout renderers.
|
||||
-->
|
||||
|
||||
<target name="logfile" xsi:type="File" fileName="log.txt" layout="-----|${level:uppercase=true}|${longdate}|${callsite}|${newline}${message}" />
|
||||
<target name="logconsole" xsi:type="Console" layout="-----|${level:uppercase=true}|${longdate}|${callsite}|${newline}${message}" />
|
||||
<target name="logfile" xsi:type="File" fileName="${specialfolder:folder=CommonApplicationData}/KFDtool/GuiLog.txt" layout="-----${longdate}|${level:uppercase=true}|${callsite}|${newline}${message}" />
|
||||
|
||||
<!--
|
||||
Write events to a file with the date in the filename.
|
||||
|
@ -36,7 +35,6 @@
|
|||
<rules>
|
||||
<!-- add your logging rules here -->
|
||||
|
||||
<logger name="KFDtool.Adapter.Protocol.Serial.*" maxlevel="Debug" final="true" /> <!-- drop trace and debug messages -->
|
||||
<logger name="*" minlevel="Error" writeTo="logfile" />
|
||||
|
||||
<!--
|
||||
|
|
Loading…
Reference in New Issue