26 lines
1.4 KiB
Plaintext
26 lines
1.4 KiB
Plaintext
|
<?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"
|
||
|
autoReload="true"
|
||
|
internalLogLevel="Warn"
|
||
|
internalLogFile="logs/internal-nlog.txt">
|
||
|
|
||
|
<targets>
|
||
|
<target name="login_counter-specific-file" xsi:type="AsyncWrapper" overflowAction="Grow" >
|
||
|
<target xsi:type="File" archiveFileName="logs/${logger}/${logger}-lc.{##}.txt" fileName="logs/${logger}/${logger}-lc.txt"
|
||
|
layout="${longdate} [${threadid}] ${level:uppercase=true} ${logger} - ${message} ${exception:format=ToString}"
|
||
|
maxArchiveFiles="10" archiveNumbering="Rolling" archiveEvery="Day" />
|
||
|
</target>
|
||
|
<target name="common-file" xsi:type="AsyncWrapper" overflowAction="Grow" >
|
||
|
<target xsi:type="File" archiveFileName="logs/login-counter.{##}.txt" fileName="logs/login-counter.txt"
|
||
|
layout="${longdate} [${threadid}] ${level:uppercase=true} ${logger} - ${message} ${exception:format=ToString}"
|
||
|
maxArchiveFiles="10" archiveNumbering="Rolling" archiveEvery="Day" />
|
||
|
</target>
|
||
|
</targets>
|
||
|
|
||
|
<rules>
|
||
|
<logger name="LC-*" minlevel="Warn" writeTo="common-file" />
|
||
|
<logger name="LC-*" minlevel="Info" writeTo="gateway-specific-file" final="true"/>
|
||
|
<logger name="*" minLevel="Trace" writeTo="common-file"/>
|
||
|
</rules>
|
||
|
</nlog>
|