-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
TLS Requests version
v1.1.0
Issue description
i can't use built-in logging when using tls-requests:
ValueError: Formatting field not found in record: '_name'
this error is caused by the wrong _name field in the logging format:
tls-requests/tls_requests/utils.py
Line 8 in 4e196e6
| FORMAT = "%(levelname)s:%(asctime)s:%(_name)s:%(funcName)s:%(lineno)d >>> %(message)s" |
Steps to reproduce / Code Sample
>>> import tls_requests
>>> import logging
>>> logging.info("aaa")
...
ValueError: Formatting field not found in record: '_name'
Call stack:
File "<stdin>", line 1, in <module>
Message: 'aaa'
Arguments: ()
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working