- Updated Nugets to the latest versions for all dependencies. There was a security vulnerability in System.Text.Json that has been addressed by updating.
- Changed constructors using a managedIdentityClientId to make it optional. If not provided, the sink will use the default Azure credential chain.
- Updated Nugets for Serilog and Azure.Storage.Blobs to the latest versions.
- Updated System.Text.Json to 8.0.4 to address CVE-2024-30105.
- Replaced Microsoft.Extensions.Hosting with Microsoft.Extensions.Configuration.Abstractions.
- Updated references so that Microsoft.Bcl.AsyncInterfaces is only required for netstandard2.0.
- Updated/clarified extension method that supports Sas token authentication.
- Updated to Serilog 4.0.0 and implemented support for Serilog native IBatchedLogEventSink. All usage of AzureBlobStorage is now batched on a default 2 second emit interval. The first log event is written immediately.
- Implemented support for including the log event level (Information, Warning, etc) in the file name template. This is done by including the
Level
property in the template. For example,Log-{yyyy}-{MM}-{dd}-{Level}.txt
will create files likeLog-2024-07-17-Information.txt
. - Fixed support for deleting old files by implementing Regex matching instead of DateTime parsing in the delete routine.
- Added console app sample to demonstrate the new features.
- This major update may require you to alter your configuration settings where you define usage of this sink.
- Updated Azure.Identity to fix CVE-2024-35255. The next release will be a major version update to adopt Serilog 4.0.0 and IBatchedLogEventSink.
- Updated to current Nuget packages, including Azure.Identity 1.11.2.
- Adopted pull request #110 by @Marien-OV, which implements improvements for batching and using the BlobClient.
- Updated to current Nuget packages, including Serilog 3.0.1.
- Adopted pull request #102 by @FDUdannychen, which allows for setting the blob content type. Default is text/plain.
- Adopted pull request #103 by @jamesSampica, which writes exceptions to Serilog's selflog.
- No code changes, changed Azure.Storage.Blobs to version 12.13.0 to address security vulnerability.
- No code changes, just adopted the standard logo for Serilog Sink nuget packages.
- Adopted pull request #86 by @dsbut that added configuration parameter for logging in UTC format.
- Adopted pull request #87 by @chriswill that added configuration support for using a named connection string.
- Implemented IBatchedLogEventSink in AzureBatchingBlobStorageSink to adopt current approach for Serilog Periodic Batching.
- Adopted pull request #85 by @throck95 that added support for logging in UTC format.
- Revised code so that it could be compiled as netstandard2.0.
- Adopted pull request by @KrishnaKole that added support for Azure Managed Identities.
- Adopted pull request by @vplauzon that uses the Azure.Storage.Blob library. If you are still using WindowsAzure.Storage, please use version 2.1.2 or earlier.
- Adopted pull request by @CCubbage to add SyncContextSafeWait to DeleteArchivedBlobsAsync
- This is the last anticipated release before a move to the new Microsoft storage libraries
- Adopted pull request by @MarcDeRaedt to call FetchAttributesAsync to determine blob size for rollover
- Adopted pull request by @AdarshGupta to limit the number of blobs retained in a container
- Adopted pull request by @stackag to roll blob on file size limit being reached
- Adopted pull request by @adementjeva to allow repeated date format values in file name
- Removed support for net452. Supports netstandard2.0 only.
- Updated all references, including references for Microsoft.Azure.Storage.Blob
- Changed format of .Net Standard version to netstandard2.0. Sink was not emitting events to storage under previous netstandard1.3, which seemed to be a result of our adoption of Microsoft.Azure.Storage.Blob.
- Changed nuget dependency reference from WindowsAzure.Storage to Microsoft.Azure.Storage.Blob.
- Changed minimum .Net Framework version to 4.5.2 to support Microsoft.Azure.Storage.Blob.
- Reverted back to WindowsAzure.Storage.
- Changed nuget dependency reference from WindowsAzure.Storage to Microsoft.Azure.Storage.Blob for .Net Core projects. .Net Framework apps seem to have trouble referencing Microsoft.Azure.Storage.Blob even though it lists support for .Net Framework 4.5.
- Also updated the minimum Serilog reference to 2.7.1 because it has many fewer dependencies for both .Net Core and Framework.
- Updated Readme.md to reflect new configuration change (folderName ==> containerName). The 1.0.4 release should have been incremented to 1.1.0 because it introduced a possible breaking change to configuration settings, so we're catching up now.
- Renamed references to "folder" with "container" in source property names and VS doc for greater clarity
- Sink refactoring, with changes to support AppendBlob size limits
- Fixed issue with file name template in the batching provider
- Changed versioning back to major.minor.patch format
- Minor solution cleanup
- Fixed a bug where multiple logging statements would post only the first statement
- Initial beta release