☰
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.2K
All Categories
0
Incidents
128
Node JS client
38
Go client
769
.Net API client
364
Kite Publisher
532
.Net / VBA / Excel (3rd party)
436
Algorithms and Strategies
970
Java client
1K
API clients
401
PHP client
3.8K
Python client
331
Mobile and Desktop apps
1.3K
Market data (WebSockets)
3.2K
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.