Closed DJphilomath closed 6 years ago
Hi @DJphilomath, Good news here! I have released a new beta version of our winston-loggly-bulk
library which handles your above request and works with winston V 2.4.x
. If you are using winston 2.x
then you can setup the library using the below command-
npm install winston-loggly-bulk@beta
If you are on winston V 3.x
then please run below command to fetch 3.x compatible environment.
npm install https://github.com/loggly/winston-loggly-bulk.git#3.x --save
The winston-loggly-bulk's 3.x
version is currently a RC package and I'm expecting feedback from our customers so that I can resolve all issues(if any) and then make a stable 3.x release.
Changes: I have disabled the network error console writing by default and created a flag variable which can be set to true
(in your main app.js file) to enable error writing on console like below-
networkErrorsOnConsole: true
If you are interested in winston 3.x
instruction then follow the link here.
Thanks.
Perfect. I'll include in the next sprint and let you know how it goes.
Sure @DJphilomath, thanks for your inputs.
Hi @DJphilomath, Since I have already done with this issue and it seems to be resolved, I am going ahead and closing this one. Please feel free to put your comment/issue if any.
Thanks!
Retry logic printouts should be done with a logging library or be optional. Those printouts pollute the general log and are impossible to move somewhere else.