|
|
|
|
|
by deweerdt
3880 days ago
|
|
> I'm kind of dissapointed that the rest of the world didn't pick logging to a circular memory buffer like varnish does. It's proven extremely useful. You'll have a full firehose of information when you need it without sacrificing performance Aren't you incurring a cost for logging for stuff that would end up being thrown out? |
|
This also removes the rather heisenbergian issue of turning on and off debug logging. In a lot of application turning on debug logging is a surefire way of making sure any race conditions won't occur.
It also means that logging (to disk) will not occur in the performance critical bits of the code. The logging will be fully asynchronous as completely different process will be given the task of persisting the logs.