We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7f75c65 + 4aa6354 commit 1623b0aCopy full SHA for 1623b0a
lib/sender.js
@@ -451,6 +451,7 @@ class FluentSender {
451
let timeoutId = setTimeout(() => {
452
this.internalLogger.info('Fluentd is reconnecting...');
453
this._connect(() => {
454
+ this._flushSendQueue()
455
this.internalLogger.info('Fluentd reconnection finished!!');
456
});
457
}, this.reconnectInterval);
lib/winston.js
@@ -32,6 +32,7 @@ module.exports = class FluentTransport extends Transport {
32
super(options);
33
this.name = 'fluent';
34
this.sender = new FluentSender(tag, options);
35
+ this.sender._setupErrorHandler();
36
}
37
38
log(info, callback) {
0 commit comments