Only log LANCommander events

media
Pat Hartl 2023-09-15 17:38:44 -05:00
parent 35ca8391c6
commit f376056eeb
1 changed files with 2 additions and 7 deletions

View File

@ -22,12 +22,7 @@
<!-- rules to map from logger name to target -->
<rules>
<!--All logs, including from Microsoft-->
<logger name="*" minlevel="Trace" writeTo="MainLogFile" />
<logger name="LANCommander.Services.ServerProcessService" minlevel="Info" writeTo="GameServerLogFile,GameServerHub" />
<!--Skip non-critical Microsoft logs and so log only own logs (BlackHole) -->
<!--<logger name="Microsoft.*" maxlevel="Info" final="true" />
<logger name="System.Net.Http.*" maxlevel="Info" final="true" />
<logger name="*" minlevel="Trace" writeTo="ownFile-web" />-->
<logger name="LANCommander.*" minlevel="Trace" writeTo="MainLogFile" />
<logger name="LANCommander.Services.ServerProcessService" minlevel="Error" writeTo="GameServerLogFile,GameServerHub" />
</rules>
</nlog>