This commit is contained in:
2018-07-05 20:11:14 +00:00
parent 89890d60de
commit 6664373ac2
5 changed files with 12 additions and 5 deletions

View File

@@ -38,7 +38,7 @@ namespace GZTW.Pecklist.Controllers
{
//TODO: Might need a lock flag in db here just in case of duelling updates
_logger.LogDebug("POST_SYNC");
//Get list from server
ListData l = _ct.ListData.First(c=>c.Id == 1);

View File

@@ -24,7 +24,13 @@ namespace GZTW.Pecklist
.UseSetting("detailedErrors", "true")
.UseKestrel()
.UseContentRoot(System.IO.Directory.GetCurrentDirectory())
//.UseIISIntegration()
//.UseIISIntegration()
// .ConfigureLogging((hostingContext, logging) =>
// {
// logging.AddConfiguration(hostingContext.Configuration.GetSection("Logging"));
// logging.AddConsole();
// logging.AddDebug();
// })
.UseStartup<Startup>()
.Build();
}

View File

@@ -89,6 +89,7 @@ namespace GZTW.Pecklist
loggerFactory.AddConsole(Configuration.GetSection("Logging"));
loggerFactory.AddDebug();
app.UseForwardedHeaders(new ForwardedHeadersOptions
{

View File

@@ -2,9 +2,9 @@
"Logging": {
"IncludeScopes": false,
"LogLevel": {
"Default": "Warning",
"System": "Warning",
"Microsoft": "Warning"
"Default": "Trace",
"System": "Trace",
"Microsoft": "Trace"
}
}
}

Binary file not shown.