Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new flag for network errors #41

Merged
merged 2 commits into from Jul 5, 2018
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Next

Add new flag for network errors

  • Loading branch information
Shweta Jain
Shweta Jain committed Jun 27, 2018
commit 8dbcaeaa10a657b4782b5aaf7418bc25bc8d59b3
@@ -57,7 +57,8 @@ var Loggly = exports.Loggly = function (options) {
token: options.token,
tags: tags,
isBulk: options.isBulk || false,
bufferOptions: options.bufferOptions || {size: 500, retriesInMilliSeconds: 30 * 1000}
bufferOptions: options.bufferOptions || {size: 500, retriesInMilliSeconds: 30 * 1000},
networkErrorsOnConsole: options.networkErrorsOnConsole || false
});

this.timestamp = options.timestamp === false ? false : true;
@@ -1,6 +1,6 @@
{
"name": "winston-loggly-bulk",
"version": "2.0.2",
"version": "2.0.3",
"description": "A Loggly transport for winston",
"author": "Loggly <opensource@loggly.com>",
"contributors": [
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.