Skip to content

Commit

Permalink
Merge pull request #9 from Shwetajain148/buffer-log-support
Browse files Browse the repository at this point in the history
queue support in library "winston-loggly-bulk" and make buffer option configurable
  • Loading branch information
mchaudhary authored Jan 17, 2017
2 parents 91f32dd + f207d67 commit e8c4ed2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/winston-loggly.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ var Loggly = exports.Loggly = function (options) {
proxy: options.proxy || null,
token: options.token,
tags: tags,
isBulk: options.isBulk || false
isBulk: options.isBulk || false,
bufferOptions: options.bufferOptions || {size: 500, retriesInMilliSeconds: 30 * 1000}
});

this.timestamp = options.timestamp || false;
Expand Down

0 comments on commit e8c4ed2

Please sign in to comment.