I've taken the liberty of cherry-picking @reedr's logging-related commits to clean and document them.
Demote rare debug slogan of message discarding to debug build
Add missing error string to syslog logging in epmd
Add run queue index to process dump info
Add thread index to allocator enomem dump slogan
Add number of entries to mnesia copy debug message
The crashdump viewer should probably be updated to be able to cope with "Run queue" info.
There is also reedr/otp@c676de0d453d18c47c6bad5a5ea21ebe0ead8c96, which I think should be its own branch as it is a new feature altogether (if it is a good thing at all, which I think it is given that warnings are already passed to the error logger).
Patch has passed first testings and has been assigned to be reviewed