serilog-contrib / 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.
MIT License
21 stars 21 forks source link

Writing to folder inside s3 #29

Closed markg21 closed 3 years ago

markg21 commented 3 years ago

I could not figure out a way to write to a specific folder inside the bucket using this project. It only writes directly inside the bucket. Even forked it and manually edited the put request to use the file path but it just stopped writing altogether. How do I do this?

SeppPenner commented 3 years ago

I need to check this as well, I can remember that it should work somehow...

markg21 commented 3 years ago

Just found it myself. There's a parameter called bucketPath. Sorry for being silly and thanks for the effort.