On 2023-01-03 21:24:20 +0000, c.bu...@posteo.jp wrote: > The main question here is why does Python deciecded to make all logs go to > stderr?
It doesn't. The Python logging system provides a plethora of handlers to log to lots of different places. Only the StreamHandler defaults to writing to stderr, and even that can log to any stream - just pass it as an argument. If none of existing handlers does what you want you can always write your own. hp -- _ | Peter J. Holzer | Story must make more sense than reality. |_|_) | | | | | h...@hjp.at | -- Charles Stross, "Creative writing __/ | http://www.hjp.at/ | challenge!"
signature.asc
Description: PGP signature
-- https://mail.python.org/mailman/listinfo/python-list