Skip to content
This repository has been archived by the owner on Nov 21, 2018. It is now read-only.

Commit

Permalink
React to logging in DI change
Browse files Browse the repository at this point in the history
  • Loading branch information
pakrym committed Jun 2, 2017
1 parent de5b356 commit 6fcf83f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Microsoft.AspNetCore/WebHost.cs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public static IWebHostBuilder CreateDefaultBuilder(string[] args)
})
.ConfigureLogging((hostingContext, logging) =>
{
logging.UseConfiguration(hostingContext.Configuration.GetSection("Logging"));
logging.AddConfiguration(hostingContext.Configuration.GetSection("Logging"));
logging.AddConsole();
logging.AddDebug();
})
Expand Down

0 comments on commit 6fcf83f

Please sign in to comment.