title: NLog does not create log files on ASP.NET Core project
body: <p>I am new to using NLog with ASP.NET Core, so I have followed the guide here:
  <a href="https://github.com/NLog/NLog.Web/wiki/Getting-started-with-ASP.NET-Core-(project.json)" rel="nofollow noreferrer">https://github.com/NLog/NLog.Web/wiki/Getting-started-with-ASP.NET-Core-(project.json)</a></p>
  
  <p>I have created the following <code>nlog.config</code> file at the root of the project directory:</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"
        autoReload="true"
        internalLogLevel="Warn"
        internalLogFile="c:\temp\internal-nlog.txt"&gt;
  
    &lt;extensions&gt;
      &lt;add assembly="NLog.Web.AspNetCore"/&gt;
    &lt;/extensions&gt;
  
  
    &lt;!-- define various log targets --&gt;
    &lt;targets&gt;
      &lt;!-- write logs to file --&gt;
      &lt;target xsi:type="File" name="allfile" fileName="${basedir}\nlog-all-${shortdate}.log"
                   layout="${longdate}|${event-properties:item=EventId.Id}|${logger}|${uppercase:${level}}|${message} ${exception}" /&gt;
  
  
      &lt;target xsi:type="File" name="ownFile-web" fileName="${basedir}\nlog-own-${shortdate}.log"
               layout="${longdate}|${event-properties:item=EventId.Id}|${logger}|${uppercase:${level}}|  ${message} ${exception}|url: ${aspnet-request-url}|action: ${aspnet-mvc-action}" /&gt;
  
      &lt;target xsi:type="Null" name="blackhole" /&gt;
    &lt;/targets&gt;
  
    &lt;rules&gt;
      &lt;!--All logs, including from Microsoft--&gt;
      &lt;logger name="*" minlevel="Trace" writeTo="allfile" /&gt;
  
      &lt;!--Skip Microsoft logs and so log only own logs--&gt;
      &lt;logger name="Microsoft.*" minlevel="Trace" writeTo="blackhole" final="true" /&gt;
      &lt;logger name="*" minlevel="Trace" writeTo="ownFile-web" /&gt;
    &lt;/rules&gt;
  &lt;/nlog&gt;
  </code></pre>
  
  <p>Inside a controller, I call a line like this one:</p>
  
  <p><code>_logger.LogInformation("Entered CustomerRange method");</code></p>
  
  <p>which returns the following in the output window in Visual Studio:</p>
  
  <p><code>CustomerMgmtAPI.Controllers.CustomerController:Information: Entered CustomerRange method</code></p>
  
  <p>However, the actual log files are never created by NLog. I was wondering if someone can point out the error in the NLog configuration here, since I have been reviewing the documentation of NLog for ASP.NET Core project and I can't find the error myself.</p>