Nlog log file is not created
<p>I am trying to log exceptions in console application. I have done everything as always (and then it worked for me...):</p>

<p>NLog.config:</p>

<pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
&lt;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"&gt;
  &lt;targets&gt;
    &lt;target name="LogFile" xsi:type="File"
               fileName="${basedir}/Log/${date:format=yyyyMMdd} myLog.txt"
               layout="${longdate}|${level:uppercase=true}|${message}|${exception}" /&gt;
  &lt;/targets&gt;

  &lt;rules&gt;
    &lt;logger name="*" minlevel="Debug" writeTo="LogFile" /&gt;
  &lt;/rules&gt;
&lt;/nlog&gt;
</code></pre>



<pre><code>class Program
{
    private static Logger _log = LogManager.GetCurrentClassLogger();

    static void Main(string[] args)
    {
      _log.Error("test");
    }
}
</code></pre>

<p>For some mysterious reason file is never created nowhere on my computer. Any ideas why</p>