|
@@ -3,7 +3,8 @@
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
xsi:schemaLocation="http://www.nlog-project.org/schemas/NLog.xsd NLog.xsd"
|
|
|
autoReload="true"
|
|
|
- internalLogLevel="Info"
|
|
|
+ throwConfigExceptions="true"
|
|
|
+ internalLogLevel="off"
|
|
|
internalLogFile="nlog-internal.log">
|
|
|
|
|
|
<!--Nlog 文档参考地址:https://github.com/NLog/NLog/wiki/Getting-started-with-ASP.NET-Core-2-->
|
|
@@ -70,9 +71,9 @@
|
|
|
<!-- Quartz -->
|
|
|
<logger name="Quartz*" minlevel="Trace" maxlevel="Info" final="true" />
|
|
|
<logger name="ZR.Admin.WebApi.Extensions.DbExtension" final="true" writeTo="consoleSql,sqlfile"/>
|
|
|
- <logger name="*" final="true" writeTo="console"/>
|
|
|
+ <!--<logger name="*" final="true" writeTo="console"/>-->
|
|
|
|
|
|
- <logger name="*" minLevel="Trace" writeTo="allfile" />
|
|
|
+ <logger name="*" final="true" writeTo="console,allfile" />
|
|
|
<!--Skip non-critical Microsoft logs and so log only own logs-->
|
|
|
<logger name="Microsoft.*,Quartz.Core.QuartzSchedulerThread" maxlevel="Info" final="true" />
|
|
|
</rules>
|