[3.10] bpo-35821: Fix restructuredtext code formatting in logging.rst (GH-29963) (GH-29965) (cherry picked from commit c7e7a4b969b5728d4b4f3c59bf98e1e830d5c6d6) Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Automerge-Triggered-By: GH:Fidget-Spinner