diff --git a/.autover/changes/feba6e15-050a-4074-98cb-c863092d9e69.json b/.autover/changes/feba6e15-050a-4074-98cb-c863092d9e69.json new file mode 100644 index 0000000..c49a066 --- /dev/null +++ b/.autover/changes/feba6e15-050a-4074-98cb-c863092d9e69.json @@ -0,0 +1,54 @@ +{ + "Projects": [ + { + "Name": "AWS.Logger.AspNetCore", + "Type": "Major", + "ChangelogMessages": [ + "Updated .NET SDK project references to 4.0.0-preview.4", + "Added .NET 8 target framework", + "Enabled Trimming support", + "Added SourceLink support" + ] + }, + { + "Name": "AWS.Logger.Core", + "Type": "Major", + "ChangelogMessages": [ + "Updated .NET SDK project references to 4.0.0-preview.4", + "Added .NET 8 target framework", + "Enabled Trimming support", + "Added SourceLink support" + ] + }, + { + "Name": "AWS.Logger.Log4net", + "Type": "Major", + "ChangelogMessages": [ + "Updated .NET SDK project references to 4.0.0-preview.4", + "Added .NET 8 target framework", + "Enabled Trimming support", + "Added SourceLink support" + ] + }, + { + "Name": "AWS.Logger.SeriLog", + "Type": "Major", + "ChangelogMessages": [ + "Updated .NET SDK project references to 4.0.0-preview.4", + "Added .NET 8 target framework", + "Enabled Trimming support", + "Added SourceLink support" + ] + }, + { + "Name": "NLog.AWS.Logger", + "Type": "Major", + "ChangelogMessages": [ + "Updated .NET SDK project references to 4.0.0-preview.4", + "Added .NET 8 target framework", + "Enabled Trimming support", + "Added SourceLink support" + ] + } + ] +} \ No newline at end of file diff --git a/samples/Log4net/BasicAWSCredentialsConfigurationExample/BasicAWSCredentialsConfigurationExample.csproj b/samples/Log4net/BasicAWSCredentialsConfigurationExample/BasicAWSCredentialsConfigurationExample.csproj index f786f73..f63cf65 100644 --- a/samples/Log4net/BasicAWSCredentialsConfigurationExample/BasicAWSCredentialsConfigurationExample.csproj +++ b/samples/Log4net/BasicAWSCredentialsConfigurationExample/BasicAWSCredentialsConfigurationExample.csproj @@ -1,57 +1,22 @@ - - - + + - Debug - AnyCPU - {7249C7F3-A0EF-4940-9931-3096C87E009E} - Exe + net472 BasicAWSCredentialsConfigurationExample BasicAWSCredentialsConfigurationExample - v4.5 - 512 - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 + Exe + - - ..\..\..\packages\AWSSDK.Core.3.7.0.6\lib\net45\AWSSDK.Core.dll - - - ..\..\..\packages\log4net.2.0.15\lib\net45\log4net.dll - - - - - - - - - - - + + + - - + + + @@ -61,15 +26,9 @@ + - - {1d79e360-24d9-46fd-b744-63eabb17a1f6} - AWS.Logger.Core - - - {78312e9b-bc7c-4af8-9153-dd72bbf4fd36} - AWS.Logger.Log4net - + - + \ No newline at end of file diff --git a/samples/Log4net/BasicAWSCredentialsConfigurationExample/Properties/AssemblyInfo.cs b/samples/Log4net/BasicAWSCredentialsConfigurationExample/Properties/AssemblyInfo.cs deleted file mode 100644 index cf613d3..0000000 --- a/samples/Log4net/BasicAWSCredentialsConfigurationExample/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("BasicAWSCredentialsConfigurationExample")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("BasicAWSCredentialsConfigurationExample")] -[assembly: AssemblyCopyright("Copyright © 2018")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("7249c7f3-a0ef-4940-9931-3096c87e009e")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] -[assembly: log4net.Config.XmlConfigurator(ConfigFile = "log4net.config", Watch = true)] \ No newline at end of file diff --git a/samples/Log4net/ConfigExample/ConfigExample.csproj b/samples/Log4net/ConfigExample/ConfigExample.csproj index 1573666..b355992 100644 --- a/samples/Log4net/ConfigExample/ConfigExample.csproj +++ b/samples/Log4net/ConfigExample/ConfigExample.csproj @@ -1,55 +1,20 @@ - - - + + - Debug - AnyCPU - {34419D16-C17E-48FC-AEFB-D56A77C6419B} - Exe - Properties + net472 Log4netConfigExample Log4netConfigExample - v4.5 - 512 - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 + Exe + - - ..\..\..\packages\log4net.2.0.15\lib\net45\log4net.dll - - - - - - - - - - - + + - - + + @@ -57,18 +22,9 @@ + - - {78312e9b-bc7c-4af8-9153-dd72bbf4fd36} - AWS.Logger.Log4net - + - - + \ No newline at end of file diff --git a/samples/Log4net/ConfigExample/Properties/AssemblyInfo.cs b/samples/Log4net/ConfigExample/Properties/AssemblyInfo.cs deleted file mode 100644 index b43920e..0000000 --- a/samples/Log4net/ConfigExample/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Log4netConfigExample")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Log4netConfigExample")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("34419d16-c17e-48fc-aefb-d56a77c6419b")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/samples/Log4net/ProgrammaticConfigurationExample/ProgrammaticConfigurationExample.csproj b/samples/Log4net/ProgrammaticConfigurationExample/ProgrammaticConfigurationExample.csproj index b30321d..cf8ee98 100644 --- a/samples/Log4net/ProgrammaticConfigurationExample/ProgrammaticConfigurationExample.csproj +++ b/samples/Log4net/ProgrammaticConfigurationExample/ProgrammaticConfigurationExample.csproj @@ -1,75 +1,28 @@ - - - + + - Debug - AnyCPU - {3A725E5C-A78B-4724-9934-AD2D96A158C6} - Exe - Properties + net472 ProgrammaticConfigurationExample ProgrammaticConfigurationExample - v4.5 - 512 - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 + Exe + - - ..\..\..\packages\log4net.2.0.15\lib\net45\log4net.dll - - - - - - - - - - - + + - - + + + + - - {1d79e360-24d9-46fd-b744-63eabb17a1f6} - AWS.Logger.Core - - - {78312e9b-bc7c-4af8-9153-dd72bbf4fd36} - AWS.Logger.Log4net - + - - + \ No newline at end of file diff --git a/samples/Log4net/ProgrammaticConfigurationExample/Properties/AssemblyInfo.cs b/samples/Log4net/ProgrammaticConfigurationExample/Properties/AssemblyInfo.cs deleted file mode 100644 index 6eea3a1..0000000 --- a/samples/Log4net/ProgrammaticConfigurationExample/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("ProgrammaticConfigurationExample")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("ProgrammaticConfigurationExample")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("3a725e5c-a78b-4724-9934-ad2d96a158c6")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/samples/NLog/ConfigExample/ConfigExample.csproj b/samples/NLog/ConfigExample/ConfigExample.csproj index fdfaef7..03bc225 100644 --- a/samples/NLog/ConfigExample/ConfigExample.csproj +++ b/samples/NLog/ConfigExample/ConfigExample.csproj @@ -1,59 +1,20 @@ - - - + + - Debug - AnyCPU - {71373EC1-B7CD-41E5-9AEE-2D58269079A2} - Exe - Properties + net472 NLogConfigExample NLogConfigExample - v4.6 - 512 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 + Exe + - - ..\..\..\packages\NLog.4.5.0\lib\net45\NLog.dll - - - - - - - - - - - - - - + + - - + + @@ -62,18 +23,9 @@ + - - {284abc3b-da69-4038-a025-0212a6df65a3} - NLog.AWS.Logger - + - - + \ No newline at end of file diff --git a/samples/NLog/ConfigExample/Properties/AssemblyInfo.cs b/samples/NLog/ConfigExample/Properties/AssemblyInfo.cs deleted file mode 100644 index 65417c2..0000000 --- a/samples/NLog/ConfigExample/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("NLogSample")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("NLogSample")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("71373ec1-b7cd-41e5-9aee-2d58269079a2")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/samples/NLog/ProgrammaticConfigurationExample/ProgrammaticConfigurationExample.csproj b/samples/NLog/ProgrammaticConfigurationExample/ProgrammaticConfigurationExample.csproj index 27b5756..b594168 100644 --- a/samples/NLog/ProgrammaticConfigurationExample/ProgrammaticConfigurationExample.csproj +++ b/samples/NLog/ProgrammaticConfigurationExample/ProgrammaticConfigurationExample.csproj @@ -1,69 +1,27 @@ - - - + + - Debug - AnyCPU - {BEC56974-2CAF-4FC0-848F-312FF153174F} - Exe - Properties + net472 ProgrammaticConfigurationExample ProgrammaticConfigurationExample - v4.5 - 512 - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 + Exe + - - ..\..\..\packages\NLog.4.5.0\lib\net45\NLog.dll - - - - - - - - - + + - - + + + - - {284abc3b-da69-4038-a025-0212a6df65a3} - NLog.AWS.Logger - + - - + \ No newline at end of file diff --git a/samples/NLog/ProgrammaticConfigurationExample/Properties/AssemblyInfo.cs b/samples/NLog/ProgrammaticConfigurationExample/Properties/AssemblyInfo.cs deleted file mode 100644 index 6951571..0000000 --- a/samples/NLog/ProgrammaticConfigurationExample/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("ProgrammaticConfigurationExample")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("ProgrammaticConfigurationExample")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("bec56974-2caf-4fc0-848f-312ff153174f")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/samples/Serilog/SerilogTestCodeFromConfig/SerilogTestCodeFromConfig.csproj b/samples/Serilog/SerilogTestCodeFromConfig/SerilogTestCodeFromConfig.csproj index 10e8b1d..8c7f0c1 100644 --- a/samples/Serilog/SerilogTestCodeFromConfig/SerilogTestCodeFromConfig.csproj +++ b/samples/Serilog/SerilogTestCodeFromConfig/SerilogTestCodeFromConfig.csproj @@ -6,10 +6,10 @@ - - + + - + diff --git a/samples/Serilog/SerilogTestCodeFromConfigRestrictedToMinimumLevel/SerilogTestCodeFromConfigRestrictedToMinimumLevel.csproj b/samples/Serilog/SerilogTestCodeFromConfigRestrictedToMinimumLevel/SerilogTestCodeFromConfigRestrictedToMinimumLevel.csproj index 10e8b1d..8c7f0c1 100644 --- a/samples/Serilog/SerilogTestCodeFromConfigRestrictedToMinimumLevel/SerilogTestCodeFromConfigRestrictedToMinimumLevel.csproj +++ b/samples/Serilog/SerilogTestCodeFromConfigRestrictedToMinimumLevel/SerilogTestCodeFromConfigRestrictedToMinimumLevel.csproj @@ -6,10 +6,10 @@ - - + + - + diff --git a/src/AWS.Logger.AspNetCore/AWS.Logger.AspNetCore.csproj b/src/AWS.Logger.AspNetCore/AWS.Logger.AspNetCore.csproj index 628fc83..3ce6f86 100644 --- a/src/AWS.Logger.AspNetCore/AWS.Logger.AspNetCore.csproj +++ b/src/AWS.Logger.AspNetCore/AWS.Logger.AspNetCore.csproj @@ -1,44 +1,53 @@  - - netstandard2.0 - - An AWS implementation of ASP.NET Core ILogger that records logging messages to Amazon CloudWatch Logs. - Amazon Web Services - Amazon Web Services - $([System.DateTime]::Now.ToString(yyyy)) - Copyright 2016-$(CurrentYear) Amazon.com, Inc. or its affiliates. All Rights Reserved. - AWS;Cloudwatch;Logger - icon.png - https://github.com/aws/aws-logging-dotnet - LICENSE - git - https://github.com/aws/aws-logging-dotnet.git - README.md - - $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb - true - true - - True - ..\..\public.snk - 3.5.3 - - - - - - - - - - - - - - - - - + + netstandard2.0;net8.0 + + An AWS implementation of ASP.NET Core ILogger that records logging messages to Amazon CloudWatch Logs. + Amazon Web Services + Amazon Web Services + AWS;Cloudwatch;Logger + icon.png + https://github.com/aws/aws-logging-dotnet + LICENSE + git + https://github.com/aws/aws-logging-dotnet.git + README.md + + $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb + true + true + + True + ..\..\public.snk + + true + true + true + snupkg + + 4.0.0-preview.1 + + + + true + + + + + + + + + + + + + + + + + + diff --git a/src/AWS.Logger.Core/AWS.Logger.Core.csproj b/src/AWS.Logger.Core/AWS.Logger.Core.csproj index 73cb9f7..a9083b3 100644 --- a/src/AWS.Logger.Core/AWS.Logger.Core.csproj +++ b/src/AWS.Logger.Core/AWS.Logger.Core.csproj @@ -1,39 +1,48 @@  - - netstandard2.0;net45 - - AWS Core logging library used to send logging messages to Amazon CloudWatch Logs - Amazon Web Services - Amazon Web Services - $([System.DateTime]::Now.ToString(yyyy)) - Copyright 2016-$(CurrentYear) Amazon.com, Inc. or its affiliates. All Rights Reserved. - AWS;Cloudwatch;Logger - icon.png - https://github.com/aws/aws-logging-dotnet - LICENSE - git - https://github.com/aws/aws-logging-dotnet.git - README.md - - $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb - true - true + + net472;netstandard2.0;net8.0 + + AWS Core logging library used to send logging messages to Amazon CloudWatch Logs + Amazon Web Services + Amazon Web Services + AWS;Cloudwatch;Logger + icon.png + https://github.com/aws/aws-logging-dotnet + LICENSE + git + https://github.com/aws/aws-logging-dotnet.git + README.md + + $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb + true + true + + True + False + ..\..\public.snk + + true + true + true + snupkg + + 4.0.0-preview.1 + - True - False - ..\..\public.snk - 3.3.3 - - - - - - - - - - - + + true + + + + + + + + + + + + diff --git a/src/AWS.Logger.Core/Core/AWSLoggerCore.cs b/src/AWS.Logger.Core/Core/AWSLoggerCore.cs index e3e00ff..c9c3331 100644 --- a/src/AWS.Logger.Core/Core/AWSLoggerCore.cs +++ b/src/AWS.Logger.Core/Core/AWSLoggerCore.cs @@ -229,15 +229,22 @@ public void Flush() } } } - + + private string _cachedServiceUrl; private string GetServiceUrl() { try { _client.Value.Config.Validate(); -#pragma warning disable CS0618 // Type or member is obsolete - return _client.Value.Config.DetermineServiceURL() ?? "Undetermined ServiceURL"; -#pragma warning restore CS0618 // Type or member is obsolete + if (_cachedServiceUrl == null) + { + _cachedServiceUrl = _client.Value.DetermineServiceOperationEndpoint(new DescribeLogGroupsRequest + { + LogGroupNamePrefix = _config.LogGroup + }).URL ?? "Undetermined ServiceURL"; + } + + return _cachedServiceUrl; } catch (Exception ex) { @@ -421,7 +428,8 @@ private async Task SendMessages(CancellationToken token) try { //Make sure the log events are in the right order. - _repo._request.LogEvents.Sort((ev1, ev2) => ev1.Timestamp.CompareTo(ev2.Timestamp)); + _repo._request.LogEvents.Sort((ev1, ev2) => + ev1.Timestamp.GetValueOrDefault().CompareTo(ev2.Timestamp.GetValueOrDefault())); var response = await _client.Value.PutLogEventsAsync(_repo._request, token).ConfigureAwait(false); _repo.Reset(); } @@ -453,7 +461,7 @@ private async Task LogEventTransmissionSetup(CancellationToken token) LogLibraryServiceError(new System.Net.WebException($"Lookup LogGroup {_config.LogGroup} returned status: {logGroupResponse.HttpStatusCode}"), serviceURL); } - if (logGroupResponse.LogGroups.FirstOrDefault(x => string.Equals(x.LogGroupName, _config.LogGroup, StringComparison.Ordinal)) == null) + if (logGroupResponse.LogGroups?.FirstOrDefault(x => string.Equals(x.LogGroupName, _config.LogGroup, StringComparison.Ordinal)) == null) { var createGroupResponse = await _client.Value.CreateLogGroupAsync(new CreateLogGroupRequest { LogGroupName = _config.LogGroup }, token).ConfigureAwait(false); if (!IsSuccessStatusCode(createGroupResponse)) @@ -618,7 +626,7 @@ public bool ShouldSendRequest(int maxQueuedEvents) int _totalMessageSize { get; set; } DateTime _nextPushTime; - public PutLogEventsRequest _request = new PutLogEventsRequest(); + public PutLogEventsRequest _request = new PutLogEventsRequest { LogEvents = new List() }; public LogEventBatch(string logGroupName, string streamName, int timeIntervalBetweenPushes, int maxBatchSize) { _request.LogGroupName = logGroupName; diff --git a/src/AWS.Logger.Log4net/AWS.Logger.Log4net.csproj b/src/AWS.Logger.Log4net/AWS.Logger.Log4net.csproj index a612fab..b59fe91 100644 --- a/src/AWS.Logger.Log4net/AWS.Logger.Log4net.csproj +++ b/src/AWS.Logger.Log4net/AWS.Logger.Log4net.csproj @@ -1,42 +1,51 @@  - - - netstandard2.0;net45 - - An AWS Log4net appender that records logging messages to Amazon CloudWatch Logs. - Amazon Web Services - Amazon Web Services - $([System.DateTime]::Now.ToString(yyyy)) - Copyright 2016-$(CurrentYear) Amazon.com, Inc. or its affiliates. All Rights Reserved. - AWS;Cloudwatch;Logger;Log4net - icon.png - https://github.com/aws/aws-logging-dotnet - LICENSE - git - https://github.com/aws/aws-logging-dotnet.git - README.md - - $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb - true - true - - True - ..\..\public.snk - 3.5.3 - - - - - - - - - - - - - - + + net472;netstandard2.0;net8.0 + + An AWS Log4net appender that records logging messages to Amazon CloudWatch Logs. + Amazon Web Services + Amazon Web Services + AWS;Cloudwatch;Logger;Log4net + icon.png + https://github.com/aws/aws-logging-dotnet + LICENSE + git + https://github.com/aws/aws-logging-dotnet.git + README.md + + $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb + true + true + + True + ..\..\public.snk + + true + true + true + snupkg + + 4.0.0-preview.1 + + + + true + + + + + + + + + + + + + + + + diff --git a/src/AWS.Logger.SeriLog/AWS.Logger.SeriLog.csproj b/src/AWS.Logger.SeriLog/AWS.Logger.SeriLog.csproj index c25e41b..9cb33a5 100644 --- a/src/AWS.Logger.SeriLog/AWS.Logger.SeriLog.csproj +++ b/src/AWS.Logger.SeriLog/AWS.Logger.SeriLog.csproj @@ -1,46 +1,55 @@  - - netstandard2.0;net45;net46 + + net472;netstandard2.0;net8.0 + + An AWS SeriLog sink that records logging messages to Amazon CloudWatch Logs. + Amazon Web Services + Amazon Web Services + AWS;Cloudwatch;Logger;Serilog + icon.png + https://github.com/aws/aws-logging-dotnet + LICENSE + git + https://github.com/aws/aws-logging-dotnet.git + README.md + + $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb + true + true + + True + ..\..\public.snk + + true + true + true + snupkg + + 4.0.0-preview.1 + - An AWS SeriLog sink that records logging messages to Amazon CloudWatch Logs. - Amazon Web Services - Amazon Web Services - $([System.DateTime]::Now.ToString(yyyy)) - Copyright 2016-$(CurrentYear) Amazon.com, Inc. or its affiliates. All Rights Reserved. - AWS;Cloudwatch;Logger;Serilog - icon.png - https://github.com/aws/aws-logging-dotnet - LICENSE - git - https://github.com/aws/aws-logging-dotnet.git - README.md - - $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb - true - true - - True - ..\..\public.snk - 3.4.3 - - - - - - - - - - - - - - - - - - - + + true + + + + + + + + + + + + + + + + + + + + diff --git a/src/NLog.AWS.Logger/NLog.AWS.Logger.csproj b/src/NLog.AWS.Logger/NLog.AWS.Logger.csproj index 7197bef..93f4db8 100644 --- a/src/NLog.AWS.Logger/NLog.AWS.Logger.csproj +++ b/src/NLog.AWS.Logger/NLog.AWS.Logger.csproj @@ -1,43 +1,52 @@  - - netstandard2.0;net45 - - AWS.Logger.NLog - An AWS NLog target that records logging messages to Amazon CloudWatch Logs. - Amazon Web Services - Amazon Web Services - $([System.DateTime]::Now.ToString(yyyy)) - Copyright 2016-$(CurrentYear) Amazon.com, Inc. or its affiliates. All Rights Reserved. - AWS;Cloudwatch;Logger;NLog - icon.png - https://github.com/aws/aws-logging-dotnet - LICENSE - git - https://github.com/aws/aws-logging-dotnet.git - README.md - - $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb - true - true - - True - ..\..\public.snk - 3.3.4 - - - - - - - - - - - - - - - + + net472;netstandard2.0;net8.0 + + AWS.Logger.NLog + An AWS NLog target that records logging messages to Amazon CloudWatch Logs. + Amazon Web Services + Amazon Web Services + AWS;Cloudwatch;Logger;NLog + icon.png + https://github.com/aws/aws-logging-dotnet + LICENSE + git + https://github.com/aws/aws-logging-dotnet.git + README.md + + $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb + true + true + + True + ..\..\public.snk + + true + true + true + snupkg + + 4.0.0-preview.1 + + + + true + + + + + + + + + + + + + + + + diff --git a/test/AWS.Logger.AspNetCore.Tests/AWS.Logger.AspNetCore.Tests.csproj b/test/AWS.Logger.AspNetCore.Tests/AWS.Logger.AspNetCore.Tests.csproj index 5fccd9e..136005a 100644 --- a/test/AWS.Logger.AspNetCore.Tests/AWS.Logger.AspNetCore.Tests.csproj +++ b/test/AWS.Logger.AspNetCore.Tests/AWS.Logger.AspNetCore.Tests.csproj @@ -16,17 +16,17 @@ - + - + - - - + + + - + diff --git a/test/AWS.Logger.Log4Net.FilterTests/AWS.Logger.Log4Net.FilterTests.csproj b/test/AWS.Logger.Log4Net.FilterTests/AWS.Logger.Log4Net.FilterTests.csproj index 48dfd51..5dc8c61 100644 --- a/test/AWS.Logger.Log4Net.FilterTests/AWS.Logger.Log4Net.FilterTests.csproj +++ b/test/AWS.Logger.Log4Net.FilterTests/AWS.Logger.Log4Net.FilterTests.csproj @@ -1,12 +1,12 @@  - net8.0;net462 + net8.0;net472 AWS.Logger.Log4Net.FilterTests true false false - Full + Full true true @@ -20,10 +20,10 @@ - + - + diff --git a/test/AWS.Logger.Log4Net.Tests/AWS.Logger.Log4Net.Tests.csproj b/test/AWS.Logger.Log4Net.Tests/AWS.Logger.Log4Net.Tests.csproj index fc434b9..8adf5fd 100644 --- a/test/AWS.Logger.Log4Net.Tests/AWS.Logger.Log4Net.Tests.csproj +++ b/test/AWS.Logger.Log4Net.Tests/AWS.Logger.Log4Net.Tests.csproj @@ -1,12 +1,12 @@  - net8.0;net462 + net8.0;net472 AWS.Logger.Log4Net.Tests true false false - Full + Full true true @@ -37,10 +37,10 @@ - + - + diff --git a/test/AWS.Logger.NLog.FilterTests/AWS.Logger.NLog.FilterTests.csproj b/test/AWS.Logger.NLog.FilterTests/AWS.Logger.NLog.FilterTests.csproj index 8a7f7e5..7409708 100644 --- a/test/AWS.Logger.NLog.FilterTests/AWS.Logger.NLog.FilterTests.csproj +++ b/test/AWS.Logger.NLog.FilterTests/AWS.Logger.NLog.FilterTests.csproj @@ -1,12 +1,12 @@  - net8.0;net462 + net8.0;net472 AWS.Logger.NLog.FilterTests true false false - Full + Full true true @@ -26,7 +26,7 @@ - + diff --git a/test/AWS.Logger.NLog.Tests/AWS.Logger.NLog.Tests.csproj b/test/AWS.Logger.NLog.Tests/AWS.Logger.NLog.Tests.csproj index 79cedda..1c8f1f6 100644 --- a/test/AWS.Logger.NLog.Tests/AWS.Logger.NLog.Tests.csproj +++ b/test/AWS.Logger.NLog.Tests/AWS.Logger.NLog.Tests.csproj @@ -1,12 +1,12 @@  - net8.0;net462 + net8.0;net472 AWS.Logger.NLog.Tests true false false - Full + Full true true @@ -41,7 +41,7 @@ - + diff --git a/test/AWS.Logger.SeriLog.Tests/AWS.Logger.SeriLog.Tests.csproj b/test/AWS.Logger.SeriLog.Tests/AWS.Logger.SeriLog.Tests.csproj index 266d2e3..329f4c6 100644 --- a/test/AWS.Logger.SeriLog.Tests/AWS.Logger.SeriLog.Tests.csproj +++ b/test/AWS.Logger.SeriLog.Tests/AWS.Logger.SeriLog.Tests.csproj @@ -43,10 +43,10 @@ - - + + - + diff --git a/test/AWS.Logger.TestUtils/AWS.Logger.TestUtils.csproj b/test/AWS.Logger.TestUtils/AWS.Logger.TestUtils.csproj index e883f94..56964ef 100644 --- a/test/AWS.Logger.TestUtils/AWS.Logger.TestUtils.csproj +++ b/test/AWS.Logger.TestUtils/AWS.Logger.TestUtils.csproj @@ -1,20 +1,20 @@  - netstandard2.0;net462 + netstandard2.0;net472 AWS.Logger.TestUtils false false - Full + Full true true - + - + diff --git a/test/AWS.Logger.UnitTests/AWS.Logger.UnitTests.csproj b/test/AWS.Logger.UnitTests/AWS.Logger.UnitTests.csproj index 3a4dfe1..cc00f5c 100644 --- a/test/AWS.Logger.UnitTests/AWS.Logger.UnitTests.csproj +++ b/test/AWS.Logger.UnitTests/AWS.Logger.UnitTests.csproj @@ -19,7 +19,7 @@ - +