Skip to content

Commit

Permalink
Merge pull request #501 from NLog/release/4.9
Browse files Browse the repository at this point in the history
Version 4.9
  • Loading branch information
304NotModified authored Oct 11, 2019
2 parents 370e553 + bd1f6d1 commit 7baf006
Show file tree
Hide file tree
Showing 87 changed files with 40,570 additions and 174 deletions.
55 changes: 38 additions & 17 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,33 @@ See also [releases](https://github.com/NLog/NLog.Web/releases) and [milestones](

Date format: (year/month/day)

### v4.9.0-aspnetcore (2019/10/11)
This version adds support for ASP.NET Core 3 and some nice renderers has been added and improved!

- [#496](https://github.com/NLog/NLog.Web/pull/496) Support ASP.NET Core 3 (@snakefoot, @304NotModified)
- [#491](https://github.com/NLog/NLog.Web/pull/491) Added example with ASP.NET Core 3 (@304NotModified)
- [#477](https://github.com/NLog/NLog.Web/pull/477) Added ${aspnet-response-statuscode} - rendering response status code (@304NotModified, @ThomasArdal)
- [#473](https://github.com/NLog/NLog.Web/pull/473) Added ${aspnet-request-headers} - rendering headers for ASP.NET and ASP.NET Core (@ThomasArdal)
- [#472](https://github.com/NLog/NLog.Web/pull/472) ${aspnet-request-cookie} - Added Exclude option (@snakefoot)
- [#465](https://github.com/NLog/NLog.Web/pull/465) ${aspnet-request-cookie} (without cookienames) will render all cookies (@304NotModified)
- [#494](https://github.com/NLog/NLog.Web/pull/494) Added AddNLog with functor to create/initialize LogFactory for NLogLoggingProvider (@snakefoot)
- [#483](https://github.com/NLog/NLog.Web/pull/483) AddNLog-methods for ILoggingBuilder (@snakefoot)

### v4.9.0-aspnet4 (2019/10/11)
- [#477](https://github.com/NLog/NLog.Web/pull/477) Added ${aspnet-response-statuscode} - rendering response status code (@304NotModified, @ThomasArdal)
- [#473](https://github.com/NLog/NLog.Web/pull/473) Added ${aspnet-request-headers} - rendering headers for ASP.NET and ASP.NET Core (@ThomasArdal)
- [#472](https://github.com/NLog/NLog.Web/pull/472) ${aspnet-request-cookie} - Added Exclude option (@snakefoot)
- [#465](https://github.com/NLog/NLog.Web/pull/465) ${aspnet-request-cookie} (without cookienames) will render all cookies (@304NotModified)

### v4.8.6-aspnetcore (2019/09/30)
- [#487](https://github.com/NLog/NLog.Web/pull/487) Fixed: Mixing AddDebug() with a file based NLog configuration no longer works (@snakefoot)

### v4.8.5 aspnetcore (2019/07/02)
### v4.8.5 aspnetcore (2019/09/07)
- [#459](https://github.com/NLog/NLog.Web/pull/459) Fixed double logging when mixing UseNLog with AddNLog (@snakefoot)

### v4.8.5 aspnet4 (2019/09/07)
- Updated dependencies

### v4.8.4 aspnetcore (2019/07/02)
- [#436](https://github.com/NLog/NLog.Web/pull/436) Better checking for availability of session (@Defee, @snakefoot)

Expand Down Expand Up @@ -43,14 +64,14 @@ Date format: (year/month/day)

### v4.7.1-aspnetcore (2019/01/06)
- [#326](https://github.com/NLog/NLog.Web/pull/326) Added ThreadSafe-attribute for LayoutRenderer to optimize async Precalculate (@snakefoot)
- [#325](https://github.com/NLog/NLog.Web/pull/325) ${AspNetRequestIp} added CheckForwardedForHeader to check for X-Forwarded-For header (#325) (@Giorgi)
- [#322](https://github.com/NLog/NLog.Web/pull/322) Check that Content-Type is correct before accessing the Form (#322) (@mcliment)
- [#325](https://github.com/NLog/NLog.Web/pull/325) ${AspNetRequestIp} added CheckForwardedForHeader to check for X-Forwarded-For header (@Giorgi)
- [#322](https://github.com/NLog/NLog.Web/pull/322) Check that Content-Type is correct before accessing the Form (@mcliment)
- [#333](https://github.com/NLog/NLog.Web/pull/333) Enabled SymbolPackageFormat=snupkg (@snakefoot)

### v4.7.1 aspnet4 (2019/01/06)
- [#330](https://github.com/NLog/NLog.Web/pull/330) aspnet-traceidentifier: Support for ASP.NET (non-core) - requires IIS ETW (@snakefoot)
- [#326](https://github.com/NLog/NLog.Web/pull/326) Added ThreadSafe-attribute for LayoutRenderer to optimize async Precalculate (@snakefoot)
- [#325](https://github.com/NLog/NLog.Web/pull/325) ${AspNetRequestIp} added CheckForwardedForHeader to check for X-Forwarded-For header (#325) (@Giorgi)
- [#325](https://github.com/NLog/NLog.Web/pull/325) ${AspNetRequestIp} added CheckForwardedForHeader to check for X-Forwarded-For header (@Giorgi)

### v4.7-aspnetcore & aspnet4 (2018/09/22)
- [#315](https://github.com/NLog/NLog.Web/pull/315) Added ${configsetting} for reading appsettings.json etc - via NLog.Extensions.Logging (@304NotModified) (ASP.NET Core only)
Expand Down Expand Up @@ -125,18 +146,18 @@ Date format: (year/month/day)
- [#154](https://github.com/nlog/nlog.web/pull/154) deploy to Nuget from AppVeyor (@304NotModified)

### v4.4.1-aspnetcore (2017/06/16)
- [#152](https://github.com/nlog/nlog.web/pull/152) Run test for asp.net core on full and core framework, fix unit test build (#152) (@johnkors)
- [#150](https://github.com/nlog/nlog.web/pull/150) Update vulnerable dependency (#150) (@johnkors)
- [#152](https://github.com/nlog/nlog.web/pull/152) Run test for asp.net core on full and core framework, fix unit test build (@johnkors)
- [#150](https://github.com/nlog/nlog.web/pull/150) Update vulnerable dependency (@johnkors)

### v4.5.0-aspnet4 (2017/05/14)

#### Features

- [#66](https://github.com/nlog/nlog.web/pull/66) ${Assembly-version} working for asp.net (core) (#66) (@304NotModified)
- [#66](https://github.com/nlog/nlog.web/pull/66) ${Assembly-version} working for asp.net (core) (@304NotModified)
- [#140](https://github.com/nlog/nlog.web/pull/140) Added ${aspnet-request-ip} (@304NotModified)
- [#143](https://github.com/nlog/nlog.web/pull/143) added ${aspnet-user-isAuthenticated} (@304NotModified)
- [#125](https://github.com/nlog/nlog.web/pull/125) Added ${aspnet-environment} (@grokky1)
- [#123](https://github.com/nlog/nlog.web/pull/123) Added Culture option to ${aspnet-item} and {aspnet-session} (#123) (@sbebrys)
- [#123](https://github.com/nlog/nlog.web/pull/123) Added Culture option to ${aspnet-item} and {aspnet-session} (@sbebrys)

#### Improvements

Expand All @@ -152,16 +173,16 @@ Date format: (year/month/day)

#### Features

- [#66](https://github.com/nlog/nlog.web/pull/66) ${Assembly-version} working for asp.net (core) (#66) (@304NotModified)
- [#66](https://github.com/nlog/nlog.web/pull/66) ${Assembly-version} working for asp.net (core) (@304NotModified)
- [#140](https://github.com/nlog/nlog.web/pull/140) Added ${aspnet-request-ip} (@304NotModified)
- [#143](https://github.com/nlog/nlog.web/pull/143) added ${aspnet-user-isAuthenticated} (@304NotModified)
- [#126](https://github.com/nlog/nlog.web/pull/126) Add ${aspnet-request-contenttype} (ASP.NET Core only) (@304NotModified)
- [#125](https://github.com/nlog/nlog.web/pull/125) Added ${aspnet-environment} (@grokky1)
- [#123](https://github.com/nlog/nlog.web/pull/123) Added Culture option to ${aspnet-item} and {aspnet-session} (#123) (@sbebrys)
- [#123](https://github.com/nlog/nlog.web/pull/123) Added Culture option to ${aspnet-item} and {aspnet-session} (@sbebrys)

#### Improvements

- [#144](https://github.com/nlog/nlog.web/pull/144) Limit dependecies (#144) (@304NotModified)
- [#144](https://github.com/nlog/nlog.web/pull/144) Limit dependecies (@304NotModified)
- [#142](https://github.com/nlog/nlog.web/pull/142) ignore ObjectDisposedException in aspnet-user renderers (@304NotModified)
- [#141](https://github.com/nlog/nlog.web/pull/141) Improve performance with many threads 2 (@304NotModified)
- [#133](https://github.com/nlog/nlog.web/pull/133) Improve performance with many threads (@304NotModified)
Expand Down Expand Up @@ -198,17 +219,17 @@ Date format: (year/month/day)
- [#77](https://github.com/nlog/nlog.web/pull/77) Upgrade to NLog 4.4 (@304NotModified)
- [#68](https://github.com/nlog/nlog.web/pull/68) Readme - make core vs non-core clearer (@timabell)
- [#54](https://github.com/nlog/nlog.web/pull/54) Additional aspnet renderers & unit tests for .net core (@304NotModified, @Page-Not-Found)
- [#61](https://github.com/nlog/nlog.web/pull/61) Upgrade RC2 to RTM. .Net Core. (#61) (@Page-Not-Found)
- [#61](https://github.com/nlog/nlog.web/pull/61) Upgrade RC2 to RTM. .Net Core. (@Page-Not-Found)
- [#59](https://github.com/nlog/nlog.web/pull/59) Upgrade to ASP.NET Core RC2 (@304NotModified)

### v4.2.1-aspnet4 (2016/05/12)
- [#57](https://github.com/nlog/nlog.web/pull/57) Package both nupkg + build scripts (#57) (@304NotModified)
- [#56](https://github.com/nlog/nlog.web/pull/56) Suppressing exception thrown when accessing HttpContext.Request (#56) (@vegar)
- [#57](https://github.com/nlog/nlog.web/pull/57) Package both nupkg + build scripts (@304NotModified)
- [#56](https://github.com/nlog/nlog.web/pull/56) Suppressing exception thrown when accessing HttpContext.Request (@vegar)

### 4.2.2 (2016/04/15)
- [#48](https://github.com/nlog/nlog.web/pull/48) Update LICENSE (#48) (@304NotModified)
- [#41](https://github.com/nlog/nlog.web/pull/41) DNX: Prevent stackoverflowException in ${aspnet-session} (#41) (@304NotModified)
- [#52](https://github.com/nlog/nlog.web/pull/52) Extra null check (#52) (@304NotModified)
- [#48](https://github.com/nlog/nlog.web/pull/48) Update LICENSE (@304NotModified)
- [#41](https://github.com/nlog/nlog.web/pull/41) DNX: Prevent stackoverflowException in ${aspnet-session} (@304NotModified)
- [#52](https://github.com/nlog/nlog.web/pull/52) Extra null check (@304NotModified)
- [#50](https://github.com/nlog/nlog.web/pull/50) Add dotnet5.4 framework (@304NotModified)
- [#37](https://github.com/nlog/nlog.web/pull/37) fix syntax of readme.md (@petemounce)

Expand Down
11 changes: 9 additions & 2 deletions NLog.Web.sln
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26730.16
# Visual Studio Version 16
VisualStudioVersion = 16.0.29324.140
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{52CA242D-DB20-41D9-8B79-A5A965ECA105}"
ProjectSection(SolutionItems) = preProject
Expand All @@ -22,6 +22,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Examples", "Examples", "{A9
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASP.NET 4.6.1 - VS2017", "examples\ASP.NET 4.6.1\Visual Studio 2017\ASP.NET 4.6.1 - VS2017\ASP.NET 4.6.1 - VS2017.csproj", "{0BF1FB4E-D5AE-46DE-9E80-E2DD40235552}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASP.NET Core 3 - VS2019", "examples\ASP.NET Core 3\ASP.NET Core 3 - VS2019\ASP.NET Core 3 - VS2019.csproj", "{A0DF49D3-74E1-4FD2-8197-017A824B9AED}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -50,13 +52,18 @@ Global
{0BF1FB4E-D5AE-46DE-9E80-E2DD40235552}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0BF1FB4E-D5AE-46DE-9E80-E2DD40235552}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0BF1FB4E-D5AE-46DE-9E80-E2DD40235552}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A0DF49D3-74E1-4FD2-8197-017A824B9AED}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A0DF49D3-74E1-4FD2-8197-017A824B9AED}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A0DF49D3-74E1-4FD2-8197-017A824B9AED}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A0DF49D3-74E1-4FD2-8197-017A824B9AED}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{D43A99EE-F27F-4552-9E23-C9686809AC3D} = {A9FB260C-9052-45D3-827A-20590F9D2FEF}
{0BF1FB4E-D5AE-46DE-9E80-E2DD40235552} = {A9FB260C-9052-45D3-827A-20590F9D2FEF}
{A0DF49D3-74E1-4FD2-8197-017A824B9AED} = {A9FB260C-9052-45D3-827A-20590F9D2FEF}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {B8468549-60D6-49AC-A6F7-44391E4C392C}
Expand Down
2 changes: 2 additions & 0 deletions NLog.Web.sln.DotSettings
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:Boolean x:Key="/Default/UserDictionary/Words/=Renderers/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>
18 changes: 9 additions & 9 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 4.8.6.{build}
version: 4.9.0.{build}
clone_folder: c:\projects\nlogweb
configuration: Release
image: Visual Studio 2017
image: Visual Studio 2019
platform: Any CPU
assembly_info:
patch: true
Expand All @@ -22,7 +22,7 @@ skip_tags: true

build_script:
- ps: |
$versionPrefix = "4.8.6"
$versionPrefix = "4.9.0"
$versionSuffix = ""
$versionBuild = $versionPrefix + "." + ${env:APPVEYOR_BUILD_NUMBER}
$versionNuget = $versionPrefix
Expand All @@ -41,12 +41,12 @@ build_script:
throw "Exec: $ErrorMessage"
}
# deploy:
# - provider: NuGet
# api_key:
# secure: DtVDH1ZfIR8E2oDLeSPxfn0WFXw3MCv4WhLkkQQl9LfEHswb5sdxdCYodNKhrKik
# on:
# branch: master
deploy:
- provider: NuGet
api_key:
secure: DtVDH1ZfIR8E2oDLeSPxfn0WFXw3MCv4WhLkkQQl9LfEHswb5sdxdCYodNKhrKik
on:
branch: master
test_script:
- nuget.exe install OpenCover -ExcludeVersion -DependencyVersion Ignore
- OpenCover\tools\OpenCover.Console.exe -register:user -returntargetcode -target:"%xunit20%\xunit.console.x86.exe" -targetargs:"\"c:\projects\nlogweb\tests\NLog.Web.Tests\bin\Release\net452\NLog.Web.Tests.dll\" -appveyor -noshadow" -returntargetcode -filter:"+[NLog.Web]*" -excludebyattribute:*.ExcludeFromCodeCoverage* -hideskipped:All -oldstyle -output:coverage.xml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:56152/",
"sslPort": 0
"sslPort": 44319
}
},
"profiles": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>netcoreapp3.0</TargetFramework>
<RootNamespace>ASP.NET_Core_3___VS2019</RootNamespace>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\..\..\src\NLog.Web.AspNetCore\NLog.Web.AspNetCore.csproj" />
</ItemGroup>

<ItemGroup>
<Content Update="NLog.config">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using ASP.NET_Core_3___VS2019.Models;

namespace ASP.NET_Core_3___VS2019.Controllers
{
public class HomeController : Controller
{
private readonly ILogger<HomeController> _logger;

public HomeController(ILogger<HomeController> logger)
{
_logger = logger;
_logger.LogDebug(1, "NLog injected into HomeController");
}

public IActionResult Index()
{
_logger.LogInformation("Hello, this is the index!");
return View();
}

public IActionResult Privacy()
{
_logger.LogInformation("Hello, this is the Privacy page!");
return View();
}

[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
public IActionResult Error()
{
return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
using System;

namespace ASP.NET_Core_3___VS2019.Models
{
public class ErrorViewModel
{
public string RequestId { get; set; }

public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
}
}
35 changes: 35 additions & 0 deletions examples/ASP.NET Core 3/ASP.NET Core 3 - VS2019/NLog.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
autoReload="true"
throwConfigExceptions="true"
internalLogLevel="info"
internalLogFile="c:\temp\internal-nlog-AspNetCore3.txt">

<!-- enable asp.net core layout renderers -->
<extensions>
<add assembly="NLog.Web.AspNetCore"/>
</extensions>

<!-- the targets to write to -->
<targets>
<!-- write logs to file -->
<target xsi:type="File" name="allfile" fileName="c:\temp\nlog-AspNetCore3-all-${shortdate}.log"
layout="${longdate}|${event-properties:item=EventId_Id:whenEmpty=0}|${uppercase:${level}}|${logger}|${message} ${exception:format=tostring}" />

<!-- another file log, only own logs. Uses some ASP.NET core renderers -->
<target xsi:type="File" name="ownFile-web" fileName="c:\temp\nlog-AspNetCore3-own-${shortdate}.log"
layout="${longdate}|${event-properties:item=EventId_Id:whenEmpty=0}|${uppercase:${level}}|${logger}|${message} ${exception:format=tostring}|url: ${aspnet-request-url}|action: ${aspnet-mvc-action}|${callsite}" />
</targets>

<!-- rules to map from logger name to target -->
<rules>
<!--All logs, including from Microsoft-->
<logger name="*" minlevel="Trace" writeTo="allfile" />

<!--Skip non-critical Microsoft logs and so log only own logs-->
<logger name="Microsoft.*" maxlevel="Info" final="true" /> <!-- BlackHole -->

<logger name="*" minlevel="Trace" writeTo="ownFile-web" />
</rules>
</nlog>
50 changes: 50 additions & 0 deletions examples/ASP.NET Core 3/ASP.NET Core 3 - VS2019/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using NLog.Web;

namespace ASP.NET_Core_3___VS2019
{
public class Program
{
public static void Main(string[] args)
{
var logger = NLog.Web.NLogBuilder.ConfigureNLog("nlog.config").GetCurrentClassLogger();
try
{
logger.Debug("init main");
CreateHostBuilder(args).Build().Run();
}
catch (Exception exception)
{
//NLog: catch setup errors
logger.Error(exception, "Stopped program because of exception");
throw;
}
finally
{
// Ensure to flush and stop internal timers/threads before application-exit (Avoid segmentation fault on Linux)
NLog.LogManager.Shutdown();
}
}

public static IHostBuilder CreateHostBuilder(string[] args) =>
Host.CreateDefaultBuilder(args)
.ConfigureWebHostDefaults(webBuilder =>
{
webBuilder.UseStartup<Startup>();
})
.ConfigureLogging(logging =>
{
logging.ClearProviders();
logging.SetMinimumLevel(Microsoft.Extensions.Logging.LogLevel.Trace);
})
.UseNLog(); // NLog: Setup NLog for Dependency injection

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:50708",
"sslPort": 44318
}
},
"profiles": {
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"ASP.NET_Core_3___VS2019": {
"commandName": "Project",
"launchBrowser": true,
"applicationUrl": "https://localhost:5001;http://localhost:5000",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
}
}
Loading

0 comments on commit 7baf006

Please sign in to comment.