☰
Login
Signup
Home
›
Python client
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
14.1K
All Categories
0
Incidents
157
Node JS client
41
Go client
798
.Net API client
385
Kite Publisher
537
.Net / VBA / Excel (3rd party)
463
Algorithms and Strategies
1K
Java client
1.1K
API clients
408
PHP client
4.1K
Python client
349
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.4K
General
Turn off logging in debug mode
msbm
August 2021
in
Python client
Hi, I am facing the following issue
import logging
kite = KiteConnect(api_key=api_key, debug=False)
logging.basicConfig(level=logging.DEBUG)
So you can see that logging is in DEBUG mode and I have given False for logging to KiteConnect
Still KiteConnect logs all requests like
2021-08-05 00:12:42 Starting new HTTPS connection (1): api.kite.trade:443
2021-08-05 00:12:42
https://api.kite.trade:443
"GET /quote/ltp?i=NSE%3ANIFTY+50 HTTP/1.1" 200 None
I want to set the logging mode to DEBUG but don't want KiteConnect to log
What have I done wrong or what could be the solution? Shouldn't the debug parameter take care of that?
Tagged:
Python Client
logging
Sign In
or
Register
to comment.