☰
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
13.8K
All Categories
0
Incidents
153
Node JS client
40
Go client
793
.Net API client
378
Kite Publisher
537
.Net / VBA / Excel (3rd party)
457
Algorithms and Strategies
993
Java client
1.1K
API clients
404
PHP client
4K
Python client
346
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
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.