title: NLog not writing debug messages
body: <p>In my code I have some info messages like <code>logger.Log("dwewe")</code> and <code>logger.Debug("ddddf")</code>.</p>
  
  <p>The problem is that the Debug messages are not being written even when I debug in VS.</p>
  
  <pre><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"
        throwExceptions="true"
        internalLogLevel="Trace"
        internalLogFile="c:\nlog-app.log"
        autoReload="false"
        internalLogToConsole="true"&gt;
    &lt;!--
    See http://nlog-project.org/wiki/Configuration_file
    for information on customizing logging rules and outputs.
     --&gt;
    &lt;targets&gt;
      &lt;!-- file targets --&gt;
      &lt;target name="asyncFile" xsi:type="AsyncWrapper"&gt;
        &lt;target xsi:type="File" name="f" fileName="${basedir}/Logs/${shortdate}.log"
              layout="${longdate} ${uppercase:${level}} ${message} ${event-context:item=error-source} ${event-context:item=error-class} ${event-context:item=error-method} ${event-context:item=error-message} ${event-context:item=inner-error-message} ${event-context:item=stack-trace}"/&gt;
      &lt;/target&gt;
  
      &lt;!-- database targets --&gt;
      &lt;target name="database" xsi:type="Database" keepConnection="true" useTransactions="true"
               dbProvider="System.Data.SqlClient"
               connectionString="data source=XXXXXX.database.windows.net;initial catalog=NLog;integrated security=false;persist security info=True;User ID=XXXXr;Password=BXXXX3"
                commandText="INSERT INTO Logs(EventDateTime, EventLevel, UserName, MachineName, EventMessage, ErrorSource, ErrorClass, ErrorMethod, ErrorMessage, InnerErrorMessage, StackTrace) VALUES (@EventDateTime, @EventLevel, @UserName, @MachineName, @EventMessage, @ErrorSource, @ErrorClass, @ErrorMethod, @ErrorMessage, @InnerErrorMessage, @StackTrace)"&gt;
        &lt;!-- parameters for the command --&gt;
        &lt;parameter name="@EventDateTime" layout="${date:s}" /&gt;
        &lt;parameter name="@EventLevel" layout="${level}" /&gt;
        &lt;parameter name="@UserName" layout="${windows-identity}" /&gt;
        &lt;parameter name="@MachineName" layout="${machinename}" /&gt;
        &lt;parameter name="@EventMessage" layout="${message}" /&gt;
        &lt;parameter name="@ErrorSource" layout="${event-context:item=error-source}" /&gt;
        &lt;parameter name="@ErrorClass" layout="${event-context:item=error-class}" /&gt;
        &lt;parameter name="@ErrorMethod" layout="${event-context:item=error-method}" /&gt;
        &lt;parameter name="@ErrorMessage" layout="${event-context:item=error-message}" /&gt;
        &lt;parameter name="@InnerErrorMessage" layout="${event-context:item=inner-error-message}" /&gt;
        &lt;parameter name="@StackTrace" layout="${event-context:item=stack-trace}" /&gt;
  
      &lt;/target&gt;
  
      &lt;target name="console" xsi:type="Console" /&gt;
  
    &lt;/targets&gt;
    &lt;rules&gt;
      &lt;!-- add your logging rules here --&gt;
      &lt;logger name="*" minlevel="Info" writeTo="database" /&gt;
      &lt;logger name="*" minlevel="Error" writeTo="asyncFile" /&gt;
      &lt;logger name="*" minlevel="Trace" writeTo="console" /&gt;
    &lt;/rules&gt;
  &lt;/
  </code></pre>