This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
@@ -89,6 +89,7 @@ namespace GZTW.Pecklist
|
||||
|
||||
loggerFactory.AddConsole(Configuration.GetSection("Logging"));
|
||||
loggerFactory.AddDebug();
|
||||
|
||||
|
||||
app.UseForwardedHeaders(new ForwardedHeadersOptions
|
||||
{
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
"Logging": {
|
||||
"IncludeScopes": false,
|
||||
"LogLevel": {
|
||||
"Default": "Warning",
|
||||
"System": "Warning",
|
||||
"Microsoft": "Warning"
|
||||
"Default": "Trace",
|
||||
"System": "Trace",
|
||||
"Microsoft": "Trace"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user