Serilog.Sinks.AmazonS3
1.5.2
dotnet add package Serilog.Sinks.AmazonS3 --version 1.5.2
NuGet\Install-Package Serilog.Sinks.AmazonS3 -Version 1.5.2
<PackageReference Include="Serilog.Sinks.AmazonS3" Version="1.5.2" />
paket add Serilog.Sinks.AmazonS3 --version 1.5.2
#r "nuget: Serilog.Sinks.AmazonS3, 1.5.2"
// Install Serilog.Sinks.AmazonS3 as a Cake Addin #addin nuget:?package=Serilog.Sinks.AmazonS3&version=1.5.2 // Install Serilog.Sinks.AmazonS3 as a Cake Tool #tool nuget:?package=Serilog.Sinks.AmazonS3&version=1.5.2
Serilog.Sinks.AmazonS3
Serilog.Sinks.AmazonS3 is a library to save logging information from Serilog to Amazon S3. The idea there was to upload log files to Amazon S3 to later evaluate them with Amazon EMR services. This project makes use of the Serilog.Sinks.File's code in a major part, so thanks to all the contributors of this project 👍.
Available for
- Net 6.0
- Net 8.0
Net Core and Net Framework latest and LTS versions
Basic usage
Check out the how to use file here.
Install
dotnet add package Serilog.Sinks.AmazonS3
Special notice for read-only file systems (e.g. AWS Lambda)
AWS Lambda exposes the tmp
folder for writing, so prepending /tmp/
to the path parameter of the AmazonS3 extension method allowed this sink to work with AWS Lambda.
Otherwise a similar exception is thrown:
Exception while emitting periodic batch from Serilog.Sinks.PeriodicBatching.PeriodicBatchingSink: System.IO.IOException: Read-only file system
Change history
See the Changelog.
Contributors ✨
Thanks goes to these wonderful people (emoji key):
<table> <tr> <td align="center"><a href="https://github.com/Galouw"><img src="https://avatars.githubusercontent.com/u/6368030?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Galouw</b></sub></a><br /><a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=Galouw" title="Code">💻</a> <a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=Galouw" title="Documentation">📖</a></td> <td align="center"><a href="https://github.com/profet23"><img src="https://avatars.githubusercontent.com/u/2411974?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Ben Grabkowitz</b></sub></a><br /><a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=profet23" title="Code">💻</a> <a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=profet23" title="Documentation">📖</a></td> <td align="center"><a href="https://github.com/aherrmann13"><img src="https://avatars.githubusercontent.com/u/1924089?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Adam Herrmann</b></sub></a><br /><a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=aherrmann13" title="Code">💻</a> <a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=aherrmann13" title="Documentation">📖</a></td> <td align="center"><a href="https://github.com/qrczak0"><img src="https://avatars.githubusercontent.com/u/45206900?v=4?s=100" width="100px;" alt=""/><br /><sub><b>qrczak0</b></sub></a><br /><a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=qrczak0" title="Code">💻</a> <a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=qrczak0" title="Documentation">📖</a></td> <td align="center"><a href="http://longfin.github.com"><img src="https://avatars.githubusercontent.com/u/128436?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Swen Mun</b></sub></a><br /><a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=longfin" title="Code">💻</a> <a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=longfin" title="Documentation">📖</a></td> <td align="center"><a href="https://www.linkedin.com/in/barrymooring/"><img src="https://avatars.githubusercontent.com/u/1089628?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Barry Mooring</b></sub></a><br /><a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=codingbadger" title="Code">💻</a> <a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=codingbadger" title="Documentation">📖</a></td> <td align="center"><a href="https://github.com/samburville"><img src="https://avatars.githubusercontent.com/u/7041731?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Sam Burville</b></sub></a><br /><a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=samburville" title="Code">💻</a> <a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=samburville" title="Documentation">📖</a></td> </tr> <tr> <td align="center"><a href="https://github.com/stylesm"><img src="https://avatars.githubusercontent.com/u/5602910?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Matt Styles</b></sub></a><br /><a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=stylesm" title="Code">💻</a> <a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=stylesm" title="Documentation">📖</a></td> <td align="center"><a href="http://vlecerf.com"><img src="https://avatars.githubusercontent.com/u/7376668?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Valentin LECERF</b></sub></a><br /><a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=ioxFR" title="Code">💻</a> <a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=ioxFR" title="Documentation">📖</a></td> <td align="center"><a href="https://franzhuber23.blogspot.de/"><img src="https://avatars.githubusercontent.com/u/9639361?v=4?s=100" width="100px;" alt=""/><br /><sub><b>HansM</b></sub></a><br /><a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=SeppPenner" title="Code">💻</a> <a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=SeppPenner" title="Documentation">📖</a> <a href="#example-SeppPenner" title="Examples">💡</a> <a href="#maintenance-SeppPenner" title="Maintenance">🚧</a> <a href="#projectManagement-SeppPenner" title="Project Management">📆</a> <a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=SeppPenner" title="Tests">⚠️</a></td> <td align="center"><a href="https://github.com/serilog-contrib"><img src="https://avatars.githubusercontent.com/u/78050538?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Serilog Contrib</b></sub></a><br /><a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=serilog-contrib" title="Code">💻</a> <a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=serilog-contrib" title="Documentation">📖</a> <a href="#example-serilog-contrib" title="Examples">💡</a> <a href="#maintenance-serilog-contrib" title="Maintenance">🚧</a> <a href="#projectManagement-serilog-contrib" title="Project Management">📆</a> <a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=serilog-contrib" title="Tests">⚠️</a></td> <td align="center"><a href="https://github.com/seruminar"><img src="https://avatars.githubusercontent.com/u/35008875?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Yuriy Sountsov</b></sub></a><br /><a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=seruminar" title="Documentation">📖</a></td> <td align="center"><a href="https://github.com/kosovrzn"><img src="https://avatars.githubusercontent.com/u/13337834?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Sergey Kosov</b></sub></a><br /><a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=kosovrzn" title="Code">💻</a> <a href="https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/commits?author=kosovrzn" title="Tests">⚠️</a></td> </tr> </table>
This project follows the all-contributors specification. Contributions of any kind welcome!
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- AWSSDK.S3 (>= 3.7.305.30)
- Newtonsoft.Json (>= 13.0.3)
- Serilog (>= 3.1.1)
- Serilog.Sinks.PeriodicBatching (>= 4.0.0)
-
net8.0
- AWSSDK.S3 (>= 3.7.305.30)
- Newtonsoft.Json (>= 13.0.3)
- Serilog (>= 3.1.1)
- Serilog.Sinks.PeriodicBatching (>= 4.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.5.2 | 27,230 | 5/16/2024 |
1.5.1 | 38,723 | 3/3/2024 |
1.5.0 | 6,596 | 11/21/2023 |
1.4.1 | 28,056 | 6/6/2023 |
1.4.0 | 17,767 | 4/7/2023 |
1.3.0 | 8,618 | 11/20/2022 |
1.2.9 | 17,141 | 10/30/2022 |
1.2.8 | 14,530 | 8/28/2022 |
1.2.7 | 44,046 | 8/3/2022 |
1.2.6 | 5,145 | 6/1/2022 |
1.2.5 | 13,903 | 2/16/2022 |
1.2.4 | 917 | 2/16/2022 |
1.2.3 | 5,002 | 1/12/2022 |
1.2.2 | 10,393 | 11/9/2021 |
1.2.1 | 949 | 11/4/2021 |
1.2.0 | 13,919 | 9/12/2021 |
1.1.11 | 6,446 | 9/3/2021 |
Version 1.5.2.0 (2024-05-16): Removed support for Net7.0.