logging.basicConfig attaches a streamhandler by default. This will in turn mask any logger in the application end (werkzeug in my case).
Attaching log handler for kiteconnect should instead happen on application end
import logging
kite_logger = logging.getLogger('kiteconnect')
handler = logging.StreamHandler()
handler.setLevel(logging.DEBUG)
kite_logger.addHandler(handler)
# Now run the application in debug mode
logging.basicConfig attaches a streamhandler by default. This will in turn mask any logger in the application end (werkzeug in my case).
Attaching log handler for kiteconnect should instead happen on application end