#6003 (How to set loglevel DEBUG for requests)
by Luc Saffre · in Developers · assigned to Luc Saffre
Kurzbeschreibung
Kinder
Kommentare
- 1 Jahr, 6 Monate ago von 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 Jahr, 6 Monate ago von 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 Jahr, 6 Monate ago von Luc Saffre about #6003 (How to set loglevel DEBUG for requests) : Created new Ticket #6003 (How to set loglevel DEBUG for requests).