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 06:27:49 EST 2023
On 2023-01-04 12:32:40 -0500, Thomas Passin wrote:
> On 1/3/2023 10:35 AM, c.buhtz at posteo.jp wrote:
> > The logging module write everything to stderr no matter which logging
> > level is used.
>
> The OP wrote this, but it's not so by default.
By default it is - sort of.
That is all log messages go to stderr, but not all log levels are
logged.
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/86f97a85/attachment.sig>
More information about the Python-list
mailing list