Closed guerremdq closed 8 months ago
@guerremdq I sense @hashhar or @mdesmet are likely better reviewers, so I added them and removed myself.
This was addressed via https://github.com/trinodb/trino-python-client/pull/434. You can now change log levels using the standard logging mechanism.
trino_logger = logging.getLogger("trino")
trino_logger.setLevel(DEBUG)
The loggers are named same as the module name. trino
is the root logger.
Description
Allow users to set a different log level for trino client.
Credits go to @mb-m