The queue of events buffered before the error-log sink attaches is now capped, and startup reports how many were dropped
What
Before the error-log sink (the component that receives and records error/log events) attaches, events are held in a buffer. That buffer now has a maximum size instead of growing without bound, tracked with a droppedBeforeSink counter for anything that overflows it.
The startup message for the error-log sink now reports whether any events were logged before it attached, and if so, how many of them were dropped.
Why
This prevents unbounded memory growth from events piling up before logging is ready, while still letting you see at startup if you lost any early events and how many.