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 #39

Merged
merged 1 commit into from Jul 5, 2018

Conversation

@Shwetajain148
Copy link

@Shwetajain148 Shwetajain148 commented Jun 27, 2018

As per the current scenario, the library writes the networks errors on console which sometimes pollute the other important logs when the numbers are so high.

In this PR, I have made the error writing to false by default and added the new flag variable whose value can be set from the main application file. This variable basically allow the user to set the default value to true which will starts printing the errors on console. So if any user wants those error logs then he can set the value to true easily.

Note: This PR is also related to loggly/winston-loggly-bulk#41 so merging both is required to work this feature.

@kevinegami kevinegami merged commit 9d2ebc6 into loggly:master Jul 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.