28 lines
1012 B
XML
28 lines
1012 B
XML
<?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">
|
|
|
|
<!--
|
|
See http://nlog-project.org/wiki/Configuration_file
|
|
for information on customizing logging rules and outputs.
|
|
-->
|
|
<targets>
|
|
<!-- file target -->
|
|
<target xsi:type="File" name="f" fileName="${basedir}/logs/${shortdate}.log"
|
|
layout="${longdate} [${uppercase:${level}}] ${message}" archiveEvery="Day" />
|
|
|
|
<!--viewer interattivo sentinel... http://sentinel.codeplex.com/-->
|
|
<target xsi:type="NLogViewer" name="sentinel" address="udp://127.0.0.1:9999"/>
|
|
|
|
<!--
|
|
<target xsi:type="File" name="f" fileName="${basedir}/logs/${shortdate}.log"
|
|
layout="${longdate} ${uppercase:${level}} ${message}" />
|
|
-->
|
|
</targets>
|
|
|
|
<rules>
|
|
<!-- logging rules -->
|
|
<logger name="*" minlevel="Trace" writeTo="f" />
|
|
<!--<logger name="*" minlevel="Trace" writeTo="sentinel" />-->
|
|
</rules>
|
|
</nlog> |