29 lines
1.3 KiB
XML
Executable File
29 lines
1.3 KiB
XML
Executable File
<?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"
|
|
throwExceptions="true">
|
|
|
|
<!--
|
|
See https://github.com/nlog/nlog/wiki/Configuration-file
|
|
for information on customizing logging rules and outputs.
|
|
-->
|
|
<targets>
|
|
<target name="console" xsi:type="ColoredConsole" layout="${longdate} ${uppercase:${level}} ${message}" />
|
|
<target name="file" xsi:type="File" fileName="${basedir}/logs/current-${shortdate}.log"
|
|
layout="${longdate} ${uppercase:${level}} ${message}"
|
|
archiveFileName="${basedir}/logs/archive-{#}.log"
|
|
archiveEvery="Day"
|
|
archiveNumbering="Date"
|
|
maxArchiveFiles="4"/>
|
|
<target name="mail" xsi:type="Mail" html="true" subject="[GTA5 dev_ng] Commit Watcher Error" body="${message}"
|
|
to="D_RSGEDI_Audio_Tools@rockstarnorth.com;"
|
|
from="buildmanager@rockstarnorth.com"
|
|
smtpServer="smtp.rockstar.t2.corp" />
|
|
<target name="eventLog" xsi:type="EventLog" source="Commit Watcher" />
|
|
</targets>
|
|
|
|
<rules>
|
|
<logger name="*" minlevel="Trace" writeTo="console,file" />
|
|
<logger name="*" minlevel="Error" writeTo="mail,eventLog" />
|
|
</rules>
|
|
</nlog> |