Comments (1)
Thanks for opening this ticket.
I was wondering, Isn't the README clear enough?
This is useful for processes that call syslog() as part of their main execution flow and can therefore be easily broken when /dev/log buffer gets full, for example when the process that is expected to read from it (usually system syslog daemon like rsyslog or syslog-ng) stops doing that.
Please note that liblogfaf should not be used in an environment where reliable log message delivery is required.
This library is useful when you have an application, e.g. some sort of network server, that accepts connections and for every query logs stuff using syslog(). Since /dev/log can get full and block any write to it you might end up with lost of delayed responses from your service.
If serving requests is more important for you than logging them you might want to enseure that your logging doesn't block the execution of your processing flow. In this case liblogfaf could help you.
If you can't afford losing even a single message than it is not for you.
liblogfaf comes handy especially when you don't have direct control of your application source code and therefore you cannot modify it to workaround the before mentioned problem.
Of course, even using liblogfaf, you should have monitoring in place to catch situations when your logging system cannot keep up. however when that happens your application is still keeping up with clienet requests.
hope this helps.
from liblogfaf.
Related Issues (4)
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 liblogfaf.