title: NLog Not Writing
body: <p>I have added NLog to my project and in the development environment, it works fine.</p>
  
  <p>I created a Setup file to deploy my application. The NLog.config file did not show up as a dependency in the Setup project. So, I added it as a file and it is present in the same directory as the exe file and App.config when deployed.</p>
  
  <p>It does not do any logging. I don't know why. Here is the config file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &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"&gt;
    &lt;variable name="day" value="${date:format=dd}" /&gt;
    &lt;variable name="month" value="${date:format=MM}" /&gt;
    &lt;variable name="year" value="${date:format=yyyy}" /&gt;  
    &lt;variable name="verbose" value="${longdate} | ${level} | ${message} | ${exception:format=tostring,message,method:maxInnerExceptionLevel=5:innerFormat=shortType,message,method}}" /&gt;
  
    &lt;targets&gt;
      &lt;target name="logfile" xsi:type="File" fileName="${basedir}/Logs/${year}${month}${day}.log" layout="${verbose}" /&gt;
    &lt;/targets&gt;
  
    &lt;rules&gt;
      &lt;logger name="*" minlevel="Error" writeTo="logfile" /&gt;
    &lt;/rules&gt;
  &lt;/nlog&gt;
  </code></pre>
  
  <p>Any help would be great. Cheers!</p>