#6003 (How to set loglevel DEBUG for requests)
by Luc Saffre · in Developers · assigned to Luc Saffre
Summary
Children
Comments
- 1 year, 6 months ago by Luc Saffre about #6003 (How to set loglevel DEBUG for requests) : I tried a lot, but gave up. Jane is still running Python 3.9, where logging module has no getLoggerByName function. And then I'm not sure whether the requests module actually does logging. In the end I gave up and simply optimized Lino's logging.
- 1 year, 6 months ago by Luc Saffre about #6003 (How to set loglevel DEBUG for requests) : I tried to set logger level in the local workflows.py module but that doesn't change anything:
import logging from http.client import HTTPConnection from lino import logger HTTPConnection.debuglevel = 1 logger.setLevel(logging.DEBUG) #logging.getLogger().setLevel(logging.DEBUG) #requests_log = log... - 1 year, 6 months ago by Luc Saffre about #6003 (How to set loglevel DEBUG for requests) : Created new Ticket #6003 (How to set loglevel DEBUG for requests).