This commit is contained in:
2019-10-22 23:05:36 +00:00
parent f363775507
commit 7ab06a82af
4 changed files with 28 additions and 16 deletions

View File

@@ -35,6 +35,7 @@ namespace AyaNova
#region Initialize Logging
//NOTE: there is a logging issue that breaks all this with .net 3.1 hostbuilder vs webhostbuilder but webhostbuilder will be deprecated so we need to work around it
//the discussion about that is here: https://github.com/aspnet/AspNetCore/issues/9337
//I think I worked around it
//NLOG OFFICIAL GUIDELINES FOR .net core 3.x https://github.com/NLog/NLog/wiki/Getting-started-with-ASP.NET-Core-3

View File

@@ -56,7 +56,7 @@ namespace AyaNova
private readonly ILogger _newLog;
private readonly ILogger<Startup>x_log;
// private readonly ILogger<Startup>x_log;
private string _connectionString = "";
private readonly Microsoft.AspNetCore.Hosting.IWebHostEnvironment _hostingEnvironment;