Issue #16884: updated logging documentation to include lastResort and use 'note' directives where appropriate.
Issue #15845: Fix comparison between bytes and string.
Issue #16884: Updated docs to use 'note' directives in a couple of places missed earlier.