diff --git a/samples/DatabaseErrorPageSample/Properties/launchSettings.json b/samples/DatabaseErrorPageSample/Properties/launchSettings.json index 794f31468c..6e0a888707 100644 --- a/samples/DatabaseErrorPageSample/Properties/launchSettings.json +++ b/samples/DatabaseErrorPageSample/Properties/launchSettings.json @@ -1,4 +1,12 @@ { + "iisSettings": { + "windowsAuthentication": false, + "anonymousAuthentication": true, + "iisExpress": { + "applicationUrl": "http://localhost:41542/", + "sslPort": 0 + } + }, "profiles": { "IIS Express": { "commandName": "IISExpress", @@ -9,7 +17,10 @@ }, "web": { "commandName": "web", - "commandLineArgs": " " + "commandLineArgs": " ", + "environmentVariables": { + "Hosting:Environment": "Development" + } } } } \ No newline at end of file diff --git a/samples/ElmPageSample/HelloWorldMiddleware.cs b/samples/ElmPageSample/HelloWorldMiddleware.cs index bda7da96eb..d51f720b16 100644 --- a/samples/ElmPageSample/HelloWorldMiddleware.cs +++ b/samples/ElmPageSample/HelloWorldMiddleware.cs @@ -23,7 +23,7 @@ namespace ElmPageSample { using (_logger.BeginScope("Scope1")) { - _logger.LogVerbose("Getting message"); + _logger.LogDebug("Getting message"); httpContext.Response.ContentType = "text/html; charset=utf-8"; await httpContext.Response.WriteAsync( diff --git a/samples/ElmPageSample/Startup.cs b/samples/ElmPageSample/Startup.cs index cefaf663f4..b24ea94d0c 100644 --- a/samples/ElmPageSample/Startup.cs +++ b/samples/ElmPageSample/Startup.cs @@ -15,7 +15,7 @@ namespace ElmPageSample services.ConfigureElm(elmOptions => { - elmOptions.Filter = (loggerName, loglevel) => loglevel == LogLevel.Verbose; + elmOptions.Filter = (loggerName, loglevel) => loglevel == LogLevel.Debug; }); } diff --git a/samples/MiddlewareAnalysisSample/Startup.cs b/samples/MiddlewareAnalysisSample/Startup.cs index 3a10098043..be1ba2c169 100644 --- a/samples/MiddlewareAnalysisSample/Startup.cs +++ b/samples/MiddlewareAnalysisSample/Startup.cs @@ -18,7 +18,7 @@ namespace MiddlewareAnaysisSample public void Configure(IApplicationBuilder app, ILoggerFactory factory, DiagnosticListener diagnosticListener) { // Displays all log levels - factory.AddConsole(LogLevel.Verbose); + factory.AddConsole(LogLevel.Debug); // Listen for middleware events and log them to the console. var listener = new TestDiagnosticListener(); diff --git a/src/Microsoft.AspNet.Diagnostics.Elm/ElmPageMiddleware.cs b/src/Microsoft.AspNet.Diagnostics.Elm/ElmPageMiddleware.cs index 499630b6d7..1ebb8d8b93 100644 --- a/src/Microsoft.AspNet.Diagnostics.Elm/ElmPageMiddleware.cs +++ b/src/Microsoft.AspNet.Diagnostics.Elm/ElmPageMiddleware.cs @@ -89,7 +89,7 @@ namespace Microsoft.AspNet.Diagnostics.Elm { var options = new ViewOptions() { - MinLevel = LogLevel.Verbose, + MinLevel = LogLevel.Debug, NamePrefix = string.Empty }; var isRedirect = false; diff --git a/src/Microsoft.AspNet.Diagnostics.Elm/Views/LogPage.cs b/src/Microsoft.AspNet.Diagnostics.Elm/Views/LogPage.cs index 9adf2cccb4..0153b8ff58 100644 --- a/src/Microsoft.AspNet.Diagnostics.Elm/Views/LogPage.cs +++ b/src/Microsoft.AspNet.Diagnostics.Elm/Views/LogPage.cs @@ -109,7 +109,7 @@ using Microsoft.Extensions.Logging { Name = node.Name, Time = node.StartTime, - Severity = LogLevel.Verbose, + Severity = LogLevel.Debug, Message = "Beginning " + node.State, }, level)); @@ -150,7 +150,7 @@ using Microsoft.Extensions.Logging { Name = node.Name, Time = node.EndTime, - Severity = LogLevel.Verbose, + Severity = LogLevel.Debug, Message = string.Format("Completed {0} in {1}ms", node.State, node.EndTime - node.StartTime) }, level)); }); @@ -183,7 +183,7 @@ using Microsoft.Extensions.Logging @@ -208,9 +208,9 @@ using Microsoft.Extensions.Logging #line hidden WriteLiteral("