adarqui / logfs-c-prototype Goto Github PK
View Code? Open in Web Editor NEWa logging file system, in userland via fuse
a logging file system, in userland via fuse
built to capture everything send to 'logserv' via zmq. Needs an 'upstream' zmq connections which it writes to. example usage: -------------' mkdir -p /tmp/logs ./logserv /tmp/logs/ UPSTREAM="tcp://127.0.0.1:1010" PREFIX="localhost" ./logfs -o intr -o nonempty -o allow_other /var/log pkill -HUP -f syslog testing logserv: ---------------' ./test-logserv building: --------' make running "in production": -----------------------' UPSTREAM=tcp://localhost:1010 ./logfs -o allow_other -o nonempty -o auto_unmount -o intr /tmp/logfs environment variables: ---------------------' UPSTREAM= specifies the 'upstream zmq connection' which logs are sent to example: UPSTREAM="tcp://IP_OF_LOGSERV:1010" PREFIX= specifies the prefix to use for each log message. This can be a host identifier etc. example: PREFIX="local-web" concept: -------' creates a mapping in which you can intercept everything written to /var/log (or some other directory you specify). None of the writes will persist to disk. Instead, they will quickly pass to an upstream zmq connection. If 'logserv' goes down, 1000 messages will be queued up. After 1000 are reached, messages are dropped. Once the zmq connection is re-established, all queue'd messages will be sent to logserv.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.