Open jasonmcaffee opened 7 years ago
It would be nice to make zlib optional through an option passed to the constructor. Wanna make a PR that does that?
@ronkorving Unfortunately I don't have the time at the moment. It would be cool to allow for various compression types (deflate, gzip, et) as well as compression levels, similar to how docker does: https://docs.docker.com/engine/admin/logging/overview/#/gelf-options
Our quick fix is to have docker do the transporting, and removing the graylog transport from winston.
Graylog uses the GELF format for transporting its messages. It only supports gzip (deflate is gzip just without file headers afaik), so other formats are out of the question. GELF and compression: http://docs.graylog.org/en/2.1/pages/gelf.html#compression
This is a node issue, but your library uses zlib, and it causes a memory leak that has been crashing our docker containers on EC2. Unfortunately that means we can no longer use your library, and have to opt for another lib that doesn't use zlib.
It's really easy to recreate the issue:
Here's the related node issue: https://github.com/nodejs/node/issues/8871