Issue #16884: updated logging documentation to include lastResort and use 'note' directives where appropriate.