s3-streamlogger | js stream for logging to s3 with rotated object names | Runtime Evironment library
kandi X-RAY | s3-streamlogger Summary
kandi X-RAY | s3-streamlogger Summary
Node.js stream for logging to s3 with rotated object names. Usable as a winston-file stream.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Creates a stream logger
- Print error message to the console
s3-streamlogger Key Features
s3-streamlogger Examples and Code Snippets
Community Discussions
Trending Discussions on s3-streamlogger
QUESTION
Does Winston support a writable stream object that uploads to DigitalOcean Spaces?
There is for example s3-streamlogger for S3 objects, but I could not find a direct way to use winston with spaces.
...ANSWER
Answered 2018-Sep-23 at 23:00According to Spaces Documentation, Spaces is compatible with AWS S3 API:
The Spaces API aims to be interoperable with Amazon's AWS S3 API. In most cases, when using a client library, setting the "endpoint" or "base" URL to ${REGION}.digitaloceanspaces.com and generating a Spaces key to replace your AWS IAM key will allow you to use Spaces in place of S3.
So I ended up using s3-streamlogger with Winston
to upload logs into my spaces bucket:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install s3-streamlogger
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page