mirror of
https://github.com/archlinux/aur.git
synced 2026-01-27 20:28:31 +01:00
25 lines
1.7 KiB
XML
25 lines
1.7 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<nlog xmlns="https://nlog-project.org/schemas/NLog.xsd" xsi:schemaLocation="NLog NLog.xsd" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance">
|
|
<targets>
|
|
<target xsi:type="ColoredConsole" name="ColoredConsole" layout="${level:uppercase=true}|${logger}|${message}${onexception:inner= ${exception:format=toString,Data}}" />
|
|
<!-- Below becomes active when ASF's IPC interface is started -->
|
|
<target type="History" name="History" layout="${date:format=yyyy-MM-dd HH\:mm\:ss}|${processname}-${processid}|${level:uppercase=true}|${logger}|${message}${onexception:inner= ${exception:format=toString,Data}}" maxCount="20" />
|
|
</targets>
|
|
|
|
<rules>
|
|
<!-- The following entries specify ASP.NET (IPC) logging, we declare those so our last Debug catch-all doesn't include ASP.NET logs by default -->
|
|
<logger name="Microsoft.*" finalMinLevel="Warn" writeTo="ColoredConsole" />
|
|
<logger name="Microsoft.Hosting.Lifetime" finalMinLevel="Info" writeTo="ColoredConsole" />
|
|
<logger name="System.*" finalMinLevel="Warn" writeTo="ColoredConsole" />
|
|
|
|
<logger name="*" minlevel="Debug" writeTo="ColoredConsole" />
|
|
|
|
<!-- Below becomes active when ASF's IPC interface is enabled -->
|
|
<!-- The following entries specify ASP.NET (IPC) logging, we declare those so our last Debug catch-all doesn't include ASP.NET logs by default -->
|
|
<logger name="Microsoft.*" finalMinLevel="Warn" writeTo="History" />
|
|
<logger name="Microsoft.Hosting.Lifetime" finalMinLevel="Info" writeTo="History" />
|
|
<logger name="System.*" finalMinLevel="Warn" writeTo="History" />
|
|
|
|
<logger name="*" minlevel="Debug" writeTo="History" />
|
|
</rules>
|
|
</nlog>
|