[1.7.x] Fixed syntax highlighting and indentation in docs/topics/logging.txt.

Backport of 90b64db39c from master