Skip to content

Commit

Permalink
missing nLog file
Browse files Browse the repository at this point in the history
  • Loading branch information
tiernano committed Jul 25, 2018
1 parent 1f4f1b9 commit a315188
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions BlackVueDownloader/NLog.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?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"
xsi:schemaLocation="http://www.nlog-project.org/schemas/NLog.xsd NLog.xsd"
autoReload="true"
throwExceptions="false"
internalLogLevel="Off" internalLogFile="c:\temp\nlog-internal.log">

<!-- optional, add some variables
https://github.com/nlog/NLog/wiki/Configuration-file#variables
-->
<variable name="myvar" value="myvalue"/>

<!--
See https://github.com/nlog/nlog/wiki/Configuration-file
for information on customizing logging rules and outputs.
-->
<targets>
<target xsi:type="File" name="f" fileName="${basedir}/logs/${shortdate}.log"
layout="${longdate} ${uppercase:${level}} ${message}" />
<target xsi:type="Console" name="c" layout="${longdate} ${uppercase:${level}} ${message}" />
</targets>

<rules>
<logger name="*" minlevel="Debug" writeTo="f" />
<logger name="*" minlevel="Debug" writeTo="c" />
</rules>
</nlog>

0 comments on commit a315188

Please sign in to comment.