New GitHub issue #96246 from johann-petrak:<br>

<hr>

<pre>
Please make it possible to pass a logger or at least use logging instead of hard coded printing to sys.stderr e.g. at
https://github.com/python/cpython/blob/fba3b67af47723c201fe3425cb615932970a8f28/Lib/http/server.py#L582
or at other locations where error handling occurs. 

</pre>

<hr>

<a href="https://github.com/python/cpython/issues/96246">View on GitHub</a>
<p>Labels: type-bug</p>
<p>Assignee: </p>