sammchardy / python-binance

Binance Exchange API python implementation for automated trading
https://python-binance.readthedocs.io/en/latest/
MIT License
5.89k stars 2.2k forks source link

1.0.18 pip binary version prints out bunch of log messages #1352

Closed daviduhm closed 11 months ago

daviduhm commented 11 months ago

The new 1.0.18 pip binary version prints out bunch of log info messages due to this line logging.info(kwargs) at client.py:7604 as below. It'd be appreciated if the line could be removed from it.

async def _request(self, method, uri: str, signed: bool, force_params: bool = False, **kwargs):

        kwargs = self._get_request_kwargs(method, signed, force_params, **kwargs)

        logging.info(kwargs)

        async with getattr(self.session, method)(uri, **kwargs) as response:
            self.response = response
            return await self._handle_response(response)
daviduhm commented 11 months ago

Closing as this has been fixed on v1.0.19. @sammchardy thank you for prompt action!