[3.11] [doc] Improve logging cookbook example. (GH-98481) (GH-98483)

Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>
1 file changed