You can let the debug log drop pending lines at exit instead of blocking shutdown.
What's wrong with this entry?
A process can now start the debug logger with syncExitDrain: false, and when the v5 log storage backend is in use, queued lines still pending at exit are dropped instead of written. Startup prints a warning that the log may be truncated. Without an explicit false, the logger still drains as before.
- Both conditions are required: the option set explicitly to false and the v5 storage backend active.
Sync exit drain off for this process: debug lines still queued at exit are dropped, so this log may end short
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.219
Left-arrow session exit now blocks on unsent input
Both mention exit