How to disable DEBUG: messages in the console when the program is running?

zz1424
How to disable DEBUG: messages in the console when the program is running?

  • rakeshr
    These are python debug logs. You can remove the required part logging.basicConfig(level=logging.DEBUG), to disable this.
  • zz1424
    Hi, remove from where exactly? I do not see this code anywhere in my program.
  • rakeshr
    DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.kite.trade
    These are Debug level logging. Can you re-check, if you are using the logging module in your code?
  • zz1424
    Not at all. There is zero mention of this in my codes.
  • rakeshr
    Can you paste your complete code for the same? We will take look at it.
Sign In or Register to comment.