885c6aa9a4
The diversion catches output that is actually flushed to stdout while serving. A print() in a block-buffered process usually stays unflushed in sys.stdout's user-space buffer, and the interpreter's exit flush drains it onto the restored protocol stream, so the docs now say so instead of implying every stray print is diverted. The logging advice is unchanged: its handler flushes each record. No-Verification-Needed: docs-only wording change