How to turn off the logging done by the ASP.NET core framework
<p>How do I turn off the logging done by ASP.NET for each request e.g.</p>

<blockquote>
  <p>INFO  09:38:41 User profile is available. Using 'C:\Users\xxxx xxxx\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.<br>
  DEBUG 09:38:41 Hosting starting<br>
  DEBUG 09:38:41 Hosting started<br>
  INFO  09:38:41 Request starting HTTP/1.1 GET <a href="http://localhost:23369/" rel="noreferrer">http://localhost:23369/</a><br>
  INFO  09:38:41 Request starting HTTP/1.1 DEBUG <a href="http://localhost:23369/" rel="noreferrer">http://localhost:23369/</a> text/html 
  DEBUG 09:38:41 DEBUG requests are not supported<br>
  DEBUG 09:38:41 The request path / does not match a supported file type<br>
  DEBUG 09:38:41 Request successfully matched the route with name 'default' and   template '{controller=Home}/{action=Index}/{id?}'.
  DEBUG 09:38:41 Request successfully matched the route with name 'default' and   template '{controller=Home}/{action=Index}/{id?}'.
  DEBUG 09:38:41 Executing action Forums.Controllers.HomeController.Index<br>
  DEBUG 09:38:41 Executing action Forums.Controllers.HomeController.Index<br>
  INFO  09:38:41 Executing action method Forums.Controllers.HomeController.Index   with arguments () - ModelState is Valid'<br>
  INFO  09:38:41 Executing action method Forums.Controllers.HomeController.Index<br>
  ..</p>
</blockquote>

<p>I couldn't find yet how I can turn this logging off...</p>

<p>This is my <code>Configure</code> method in the <code>Startup</code> class:</p>

<pre><code>public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
{
    loggerFactory.AddProvider(new Log4NetProvider());

    if (env.IsDevelopment())
    {
        app.UseBrowserLink();
        app.UseDeveloperExceptionPage();
        app.UseDatabaseErrorPage();
    }
    else
    {
        app.UseExceptionHandler("/Home/Error");

        // For more details on creating database during deployment see http://go.microsoft.com/fwlink/?LinkID=615859
        try
        {
            using (var serviceScope = app.ApplicationServices.GetRequiredService&lt;IServiceScopeFactory&gt;()
                .CreateScope())
            {
                serviceScope.ServiceProvider.GetService&lt;ApplicationDbContext&gt;()
                     .Database.Migrate();
            }
        }
        catch { }
    }

    app.UseIISPlatformHandler(options =&gt; options.AuthenticationDescriptions.Clear());

    app.UseStaticFiles();

    app.UseIdentity();

    // To configure external authentication please see http://go.microsoft.com/fwlink/?LinkID=532715

    app.UseMvc(routes =&gt;
    {
        routes.MapRoute(
            name: "default",
            template: "{controller=Home}/{action=Index}/{id?}");
    });
}
</code></pre>

<p>And this is my project.json file:</p>

<pre><code>"dependencies": {
  "EntityFramework.Commands": "7.0.0-rc1-final",
  "EntityFramework.MicrosoftSqlServer": "7.0.0-rc1-final",
  "log4net": "2.0.5",
  "Microsoft.AspNet.Authentication.Cookies": "1.0.0-rc1-final",
  "Microsoft.AspNet.Diagnostics.Entity": "7.0.0-rc1-final",
  "Microsoft.AspNet.Identity.EntityFramework": "3.0.0-rc1-final",
  "Microsoft.AspNet.IISPlatformHandler": "1.0.0-rc1-final",
  "Microsoft.AspNet.Mvc": "6.0.0-rc1-final",
  "Microsoft.AspNet.Mvc.TagHelpers": "6.0.0-rc1-final",
  "Microsoft.AspNet.Server.Kestrel": "1.0.0-rc1-final",
  "Microsoft.AspNet.StaticFiles": "1.0.0-rc1-final",
  "Microsoft.AspNet.Tooling.Razor": "1.0.0-rc1-final",
  "Microsoft.Extensions.CodeGenerators.Mvc": "1.0.0-rc1-final",
  "Microsoft.Extensions.Configuration.FileProviderExtensions": "1.0.0-rc1-final",
  "Microsoft.Extensions.Configuration.Json": "1.0.0-rc1-final",
  "Microsoft.Extensions.Configuration.UserSecrets": "1.0.0-rc1-final",
  "Microsoft.Extensions.Logging": "1.0.0-rc1-final",
  "Microsoft.VisualStudio.Web.BrowserLink.Loader": "14.0.0-rc1-final"
},

"commands": {
  "web": "Microsoft.AspNet.Server.Kestrel",
  "ef": "EntityFramework.Commands"
},

"frameworks": {
  "dnx451": { }
},
</code></pre>

<hr>

<p><strong>Update:</strong><br>
My log4net provider was taken <a href="http://dotnetliberty.com/index.php/2015/11/09/asp-net-5-logging-with-log4net/" rel="noreferrer">from here</a></p>