Merge branch 'master' of http://60.209.125.238:13080/whm/BookingHeChuan
commit
871285780e
@ -0,0 +1,30 @@
|
||||
<?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"
|
||||
throwExceptions="true"
|
||||
internalLogLevel="Warning"
|
||||
internalLogFile="Logs/nlog-internal.log">
|
||||
|
||||
<!-- enable asp.net core layout renderers -->
|
||||
<extensions>
|
||||
</extensions>
|
||||
|
||||
<!-- the targets to write to -->
|
||||
<targets>
|
||||
<target name="fileDebug"
|
||||
xsi:type="File"
|
||||
fileName="${basedir}/logs/${shortdate}-debug.log"
|
||||
layout="${longdate} [${uppercase:${level}}] [${callsite}] [${threadid}] | ${message}${newline}" archiveAbovesize="10240000" enableArchiveFileCompression="true" />
|
||||
|
||||
<target name="errorDebug"
|
||||
xsi:type="File"
|
||||
fileName="${basedir}/logs/${shortdate}-error.log"
|
||||
layout="${longdate} [${uppercase:${level}}] [${callsite}] [${threadid}] | ${message}${newline}" archiveAbovesize="10240000" enableArchiveFileCompression="true" />
|
||||
</targets>
|
||||
|
||||
<rules>
|
||||
<logger name="*" minlevel="Debug" maxlevel="Info" writeTo="fileDebug" />
|
||||
<logger name="*" minlevel="Warning" writeTo="errorDebug" />
|
||||
</rules>
|
||||
</nlog>
|
Loading…
Reference in New Issue