This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Add snippet on how to configure a "split" stream for console
Type: Stage: patch review
Components: Documentation Versions: Python 3.8
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, mariocj89
Priority: normal Keywords: patch

Created on 2018-02-11 17:08 by mariocj89, last changed 2022-04-11 14:58 by admin.

Pull Requests
URL Status Linked Edit
PR 5625 closed mariocj89, 2018-02-11 17:11
Messages (1)
msg312003 - (view) Author: Mario Corchero (mariocj89) * (Python triager) Date: 2018-02-11 17:08
As discussed in python-ideas, it would be good to have a recipe on how to configure the logging stack to be able to log ``ERROR`` and above to stderr and ``INFO`` and below to stdout.

It was proposed to add it into the cookbook rather than on the standard library. An alternative proposal was a "ConsoleHandler" that would do this by default. (https://github.com/mariocj89/cpython/commit/501cfcd0f4cad1e04d87b89784988c52a77a80ad)
History
Date User Action Args
2022-04-11 14:58:57adminsetgithub: 77002
2018-02-11 17:11:05mariocj89setkeywords: + patch
stage: patch review
pull_requests: + pull_request5433
2018-02-11 17:08:39mariocj89create