Got message "(node:1) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 abort listeners added to [EventEmitter]" and then log don't send to elasticsearch.
winston-elasticsearch version 0.17.1
my config
const esTransportOpts = {
level: ('info'),
indexPrefix: 'app',
clientOpts: {
node: 'https://localhost:9200',
auth: {
username: 'xxx',
password: 'xxx'
},
caFingerprint: 'xx:xx:xx',
tls
rejectUnauthorized: false
}
}
};
const esTransport = new ElasticsearchTransport(esTransportOpts);
Has anyone encountered it and how did you fix it?
Got message "(node:1) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 abort listeners added to [EventEmitter]" and then log don't send to elasticsearch.
winston-elasticsearch version 0.17.1
my config
Has anyone encountered it and how did you fix it?