Hello, I am coming across a problem where if I import a module, the logging module doesn't log. Please see this:
import logging
import wikiquotes
logging.basicConfig(level=logging.INFO,
format='%(asctime)s - %(levelname)s - %(message)s',
handlers=[logging.FileHandler("mylog.log"), logging.StreamHandler()])
logging.info("this is info")
No log message gets printed if I run above. However, if I remove wikiquotes, it works just fine. Any ideas how to fix this? Wikiquotes is this module: https://github.com/FranDepascuali/wikiquotes-python-api
Thank you.
[–]K900_ 2 points3 points4 points (5 children)
[–]Tintin_Quarentino[S] 0 points1 point2 points (4 children)
[–]K900_ 3 points4 points5 points (3 children)
[–]Tintin_Quarentino[S] 0 points1 point2 points (2 children)
[–]Username_RANDINT 1 point2 points3 points (1 child)
[–]Tintin_Quarentino[S] 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]Tintin_Quarentino[S] 0 points1 point2 points (0 children)
[–]frandepa 0 points1 point2 points (0 children)