Update logging.rst

Fix some typos and formattings ;)