<?xml version="1.0" encoding="utf-8" ?>
autoReload="true"
throwExceptions="false"
internalLogLevel="Off" internalLogFile="c:\temp\nlog-internal.log" >
<extensions>
<add assembly="NLog.Targets.Fluentd" />
</extensions>
<!-- optional, add some variabeles
-->
<variable name="myvar" value="myvalue"/>
<!--
for information on customizing logging rules and outputs.
-->
<targets>
<!--
add your targets here
-->
<!--
Writing events to the a file with the date in the filename.
target xsi:type="File" name="f" fileName="${basedir}/logs/${shortdate}.log"
layout="${longdate} ${uppercase:${level}} ${message}" />
-->
<target xsi:type="Fluentd" name="fluentdTarget"
host="your host"
tag="mytag"
noDelay="true"
sendBufferSize="8192"
sendTimeout="2"
lingerEnabled="false"
lingerTime="2"
emitStackTraceWhenAvailable="false"/>
</targets>
<rules>
<!-- add your logging rules here -->
<!--
Write all events with minimal level of Debug (So Debug, Info, Warn, Error and Fatal, but not Trace) to "f"
<logger name="*" minlevel="Debug" writeTo="f" />
-->
<logger name="*" minlevel="Debug" writeTo="fluentdTarget" />
</rules>
</nlog>