|
|
|
@ -9,10 +9,10 @@
|
|
|
|
|
<parameter name="ThreadName" layout="${threadname}" xsi:type="NLogViewerParameterInfo" />
|
|
|
|
|
</target>
|
|
|
|
|
|
|
|
|
|
<target name="file" xsi:type="File"
|
|
|
|
|
<target name="file" xsi:type="File" keepFileOpen="true" openFileCacheTimeout="1"
|
|
|
|
|
layout="${longdate} [${level}] ${logger}: ${message} ${exception:ToString}"
|
|
|
|
|
fileName="${basedir}/App_Data/logs/${shortdate}.txt" />
|
|
|
|
|
<target name ="xmlFile" xsi:type="File"
|
|
|
|
|
<target name ="xmlFile" xsi:type="File" keepFileOpen="true" openFileCacheTimeout="1"
|
|
|
|
|
fileName="${basedir}/App_Data/logs/${shortdate}.xml"
|
|
|
|
|
layout="${log4jxmlevent:includeSourceInfo=true:includeCallSite=true:includeMDC=true:appInfo=true:includeNDC=true:includeNLogData=true}"/>
|
|
|
|
|
</targets>
|
|
|
|
|