python - Azure Service Bus library is spamming console
问题描述
I used the tutorial provided by microsoft. https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-python-how-to-use-queues
Everything checks out, yet I am not only seeing the "sent message" and "received message" console logs. The console is printing everything, like every call the library is doing.
The application is encapsulated in a docker container, but that shouldn't trigger this behavior. I also changed the logging from True to False
ServiceBusClient.from_connection_string(conn_str=CONNECTION_STR, logging_enable=False)
But there is no change in behavior. It keeps spamming the console. How can I change the logging behavior of the azure package?
解决方案
Answer for anyone encountering this issue:
推荐阅读
- java - 使用 Java 将电话添加到 AD 中的用户帐户
- mysql - SQL 语句 - 如何使用具有不同 SELECT 的多个 CASE?
- apache-spark - Spark 与具有两个不同主体的 Kafka 交互
- javascript - 使用 openlayers 获取 trkpt 详细信息
- chef-infra - 仅在特定平台版本上安装说明书
- c# - c#中二维数组的集合
- javascript -
refetchQueries "未知指令 "_"。" - javascript - 如何链接或路由反应语义 UI 下拉组件
- python - 使用 PySpark 以 orc 格式编写大量数据帧时,如何避免 OOM 问题?
- android - 为 Google SignIn Android 的同一 OAuth 添加多个 SHA