Introducing LoggerFS (2013)
41–47 of 47 posts
Re: Introducing LoggerFS (2013)
#42I LOVE the idea of turning the idea of logging on it's head!
Re: Introducing LoggerFS (2013)
#43Earlier quoted context omitted.
Depending on your disk not to magically fill up is very different from relying on this FUSE daemon to be up and operational.
To be clear, I do think it's a valid concern -- my point was that "what if log location isn't writable/disk is full" is pretty basic concern that any daemon should account for (what happens if somehow mount -oro /var/log?). And writes failing shouldn't be that much of an alien error condition. In sum, if fuse/loggerfs together can guarantee that every possible state will result in sane (error) state on writes -- this…
These are two different cases though. If a disk is full the write fails and software usually handles that well. Depending on the state of FUSE, it will just block indefinitely.
Re: Introducing LoggerFS (2013)
#44Alternatively one could just log to a queue/network directly...
As an example, nginx only recently gained the ability to log to syslog; Apache has a logging module but it's not exceptionally customizable if you wanted to log to, say, ActiveMQ, or to a custom service (unless you write a separate binary to accept logs on stdin).
Re: Introducing LoggerFS (2013)
#45Alternatively one could just log to a queue/network directly...
Re: Introducing LoggerFS (2013)
#46so it's basically systemd-journal, except more fragile and significantly harder to use (requiring open, fwrite, etc) than the simple printf.
So, basically, it's like systemd-journal except not actually like systemd-journal, significantly easier to use, and can use printf directly instead.
Re: Introducing LoggerFS (2013)
#47Alternatively one could just log to a queue/network directly...
Assuming one's software allows for that. Which a lot of software either doesn't do, doesn't do with sufficient configuration, does badly, or does but doesn't support your particular logging method. As an example, nginx only recently gained the ability to log to syslog; Apache has a logging module but it's not exceptionally customizable if you wanted to log to, say, ActiveMQ, or to a custom service (unless you write a…