Comments (3)
It would be nice to make zlib optional through an option passed to the constructor. Wanna make a PR that does that?
from node-graylog2.
@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.
from node-graylog2.
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
from node-graylog2.
Related Issues (20)
- possible typo in graylog2.js line 118 HOT 5
- Random EADDRINUSE errors when logging HOT 2
- Support for Typescript HOT 5
- Is it possible to configure what levels get logged? HOT 1
- Feature request: Handle circular JSON HOT 1
- node-graylo2 not sending messages in correct format to Graylog2 HOT 9
- Dont get errors
- No error message on connection error HOT 1
- Chunk message problem HOT 1
- Not getting log in server and also not getting any error HOT 1
- not getting any error if graylog failure
- How to log additional fields?
- How to log additional fields as standard?
- Is there anyway to log stream on TCP? HOT 1
- New version for NPM to replace 0.2.1?
- Logging error object fails HOT 3
- [Question] Is project dead?
- Uncaught TypeError: dgram.createSocket is not a function HOT 3
- Module not found: Error: Can't resolve 'dgram' OR dgram.createSocket is not a function
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-graylog2.