On Wed, 4 Jan 2023 at 10:28, Stefan Ram <r...@zedat.fu-berlin.de> wrote: > > c.bu...@posteo.jp writes: > >But I don't want to make all log levels go to stdout. Just DEBUG and > >INFO. > > The following was stripped down from something some guy > posted on a web site, maybe it was "rkachach".
Yet another shining example of bad code that does what someone asks, but will make life harder for the next person to come along and try to work with that program. It's like if someone asked for a way to make True equal to -1 instead of 1, for compatibility with BASIC. Bad idea. ChrisA -- https://mail.python.org/mailman/listinfo/python-list