What should go to stdout/stderr and why Python logging write everything to stderr?
Peter J. Holzer
hjp-python at hjp.at
Thu Jan 5 14:18:00 EST 2023
On 2023-01-05 08:31:40 -0500, Thomas Passin wrote:
> The logging system is so configurable that a user could set a different
> destination for each level of logging. So it seems that the O.P.'s original
> question about why the package's developers choose stderr for all levels can
> be answered: "They didn't".
Which is almost exactly what I wrote in
<20230104162154.uzljittbs6xwtx6y at hjp.at> ;-)
hp
--
_ | Peter J. Holzer | Story must make more sense than reality.
|_|_) | |
| | | hjp at hjp.at | -- Charles Stross, "Creative writing
__/ | http://www.hjp.at/ | challenge!"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://mail.python.org/pipermail/python-list/attachments/20230105/05643a92/attachment.sig>
More information about the Python-list
mailing list