areed1192 / td-ameritrade-python-api

Unofficial Python API client library for TD Ameritrade. This library allows for easy access of the Standard API and allows users to build data pipelines for the Streaming API.
MIT License
683 stars 252 forks source link

Printing "grabbing new access token" #244

Open SkyHyperV opened 2 years ago

SkyHyperV commented 2 years ago

Is there a way to suppress this message? I've tried the following without success:

logging.getLogger("td").setLevel(logging.WARNING) logging.getLogger("td.client").setLevel(logging.WARNING) logging.getLogger("TDClient").setLevel(logging.WARNING)

pingzh commented 1 year ago

@SkyHyperV try this: logging.getLogger("tda.auth").setLevel(logging.WARNING), i am using it