Documentation fixes on topics logging - add code-block and fix 3 spaces indentation

There is no ticket related.
I reviewed all the code-block:: python, here the PR
https://github.com/django/django/pull/3082/