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
|
//TODO: Might need a lock flag in db here just in case of duelling updates
|
||||||
|
|
||||||
|
_logger.LogDebug("POST_SYNC");
|
||||||
//Get list from server
|
//Get list from server
|
||||||
ListData l = _ct.ListData.First(c=>c.Id == 1);
|
ListData l = _ct.ListData.First(c=>c.Id == 1);
|
||||||
|
|
||||||
|
|||||||
@@ -24,7 +24,13 @@ namespace GZTW.Pecklist
|
|||||||
.UseSetting("detailedErrors", "true")
|
.UseSetting("detailedErrors", "true")
|
||||||
.UseKestrel()
|
.UseKestrel()
|
||||||
.UseContentRoot(System.IO.Directory.GetCurrentDirectory())
|
.UseContentRoot(System.IO.Directory.GetCurrentDirectory())
|
||||||
//.UseIISIntegration()
|
//.UseIISIntegration()
|
||||||
|
// .ConfigureLogging((hostingContext, logging) =>
|
||||||
|
// {
|
||||||
|
// logging.AddConfiguration(hostingContext.Configuration.GetSection("Logging"));
|
||||||
|
// logging.AddConsole();
|
||||||
|
// logging.AddDebug();
|
||||||
|
// })
|
||||||
.UseStartup<Startup>()
|
.UseStartup<Startup>()
|
||||||
.Build();
|
.Build();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -89,6 +89,7 @@ namespace GZTW.Pecklist
|
|||||||
|
|
||||||
loggerFactory.AddConsole(Configuration.GetSection("Logging"));
|
loggerFactory.AddConsole(Configuration.GetSection("Logging"));
|
||||||
loggerFactory.AddDebug();
|
loggerFactory.AddDebug();
|
||||||
|
|
||||||
|
|
||||||
app.UseForwardedHeaders(new ForwardedHeadersOptions
|
app.UseForwardedHeaders(new ForwardedHeadersOptions
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -2,9 +2,9 @@
|
|||||||
"Logging": {
|
"Logging": {
|
||||||
"IncludeScopes": false,
|
"IncludeScopes": false,
|
||||||
"LogLevel": {
|
"LogLevel": {
|
||||||
"Default": "Warning",
|
"Default": "Trace",
|
||||||
"System": "Warning",
|
"System": "Trace",
|
||||||
"Microsoft": "Warning"
|
"Microsoft": "Trace"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user