4 ms·
It drops messages. That's almost always the desired behavior: you never want your logging system to be doing work when the system is productively tasked with o
by ajross 3y ago
It drops messages. That's almost always the desired behavior: you never want your logging system to be doing work when the system is productively tasked with other things.
I know there was some level of argument about whether it's best to overwrite older content (ring-buffer-style, probably keeps the most important stuff) or drop messages at input time (faster, probably fewer messages dropped overall). But logging isn't my area of expertise and I forget the details.
But again, the general point being that this is a complicated problem with tradeoffs, where most developers up the stack tend to think of it as a fixed facility that shouldn't ever fail or require developer bandwidth. And it's not, it's hard.