Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
S3 Transport for winston
CoffeeScript JavaScript
branch: master
Failed to load latest commit information.
bin
src/lib
.gitignore
README.md
package.json

README.md

winston-s3

A full featured S3 transport for winston

Install

npm i -S winston winston-s3

Setup

var winston = require('winston')
  , winstonS3 = require('winston-s3')

winston.add(winstonS3, {
  key: 's3-key'
  , secret: 's3-secret'
  , bucket: 'bucket-name'

  // optional
  , maxSize: 20 * 1024 * 1024 // default
  , id: '' // defaults to the hostname
  , nested: false
  , path: // defaults to 's3Logs'
  , temp: false
  , debug: false
  , headers: {} //headers that will be passed along to knox for the http requests
})
Something went wrong with that request. Please try again.