-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathNLClientApp.exe.nlog
35 lines (34 loc) · 1.55 KB
/
NLClientApp.exe.nlog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.nlog-project.org/schemas/NLog.xsd NLog.xsd"
autoReload="false"
throwExceptions="false"
internalLogLevel="Off"
internalLogFile="nlog-internal.log">
<targets>
<target xsi:type="EventLog" name="SysEventLog" layout="${message}${newline}${exception:format=ToString}" source="NetLimiter Client" log="NetLimiter" />
<target xsi:type="File"
name="CsvFileTarget"
fileName="${specialfolder:folder=CommonApplicationData}/Locktime/NetLimiter/5/logs/nlclientapp.log"
concurrentWrites="true"
archiveAboveSize="524288"
archiveNumbering="Rolling"
maxArchiveFiles="10"
keepFileOpen="true">
<layout xsi:type="CsvLayout" delimiter="Pipe" withHeader="false">
<column name="time" layout="${longdate}" />
<column name="level" layout="${level:upperCase=true}"/>
<column name="pid" layout="${processid}"/>
<column name="tid" layout="${threadid}"/>
<column name="logger" layout="${logger}" />
<column name="message" layout="${message}" />
<column name="exception" layout="${exception:format=tostring}"/>
</layout>
</target>
</targets>
<rules>
<logger name="*" minlevel="Info" writeTo="CsvFileTarget" />
<logger name="*" minlevel="Warn" writeTo="SysEventLog" />
</rules>
</nlog>