You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Cannot set multiple partition keys for events in EventDataBatch](#cannot-set-multiple-partition-keys-for-events-in-eventdatabatch)
22
19
-[Setting partition key on EventData is not set in Kafka consumer](#setting-partition-key-on-eventdata-is-not-set-in-kafka-consumer)
@@ -114,28 +111,11 @@ The Azure SDK for Python offers a consistent logging story to help troubleshoot
114
111
This library uses the standard [Logging] library for logging
115
112
116
113
- Enable `azure.eventhub` logger to collect traces from the library.
117
-
- Enable `uamqp` logger to collect traces from the underlying uAMQP library.
118
114
119
115
### Enable AMQP transport logging
120
116
121
117
If enabling client logging is not enough to diagnose your issues. You can enable AMQP frame level trace by setting `logging_enable=True` when creating the client.
122
118
123
-
### Reduce logging
124
-
125
-
There may be cases where you consider the `uamqp` logging to be too verbose. To suppress unnecessary logging, add the following snippet to the top of your code:
126
-
127
-
```python
128
-
import logging
129
-
130
-
# The logging levels below may need to be adjusted based on the logging that you want to suppress.
131
-
uamqp_logger = logging.getLogger('uamqp')
132
-
uamqp_logger.setLevel(logging.ERROR)
133
-
134
-
# or even further fine-grained control, suppressing the warnings in uamqp.connection module
0 commit comments