If a module whose source code I can't change says something like:
# foo.py
import logging
logging.info('Hello world')
How can I see the logs while running
$ python foo.py
from my POSIX-compliant terminal?
All the answers I can find about this involve changing the source code.
The docs are pretty clear about logging WARN-level and above:
The INFO message doesn’t appear because the default level is WARNING.
But I can't easily see how to change that default.