-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Description
ACTION NEEDED: This version of pylint will be merged on 2025-07-14. The build will begin to fail for this library if errors are not fixed.
Library name: azure-eventhub
Pylint version: 3.3.6
Pylint Build: Link to build (2025-06-08)
Pylint Errors:
2025-06-08T23:03:55.0273346Z ************* Module azure.eventhub._tracing
2025-06-08T23:03:55.0275778Z azure/eventhub/_tracing.py:181: [C4766(do-not-log-exceptions-if-not-debug), trace_message] Do not log exceptions in levels other than debug, it can otherwise reveal sensitive information. See Details: https://azure.github.io/azure-sdk/python_implementation.html#python-logging-sensitive-info
2025-06-08T23:03:55.0278582Z ************* Module azure.eventhub._eventprocessor.event_processor
2025-06-08T23:03:55.0280902Z azure/eventhub/_eventprocessor/event_processor.py:140: [C4766(do-not-log-exceptions-if-not-debug), EventProcessor._process_error] Do not log exceptions in levels other than debug, it can otherwise reveal sensitive information. See Details: https://azure.github.io/azure-sdk/python_implementation.html#python-logging-sensitive-info
2025-06-08T23:03:55.0283816Z azure/eventhub/_eventprocessor/event_processor.py:171: [C4766(do-not-log-exceptions-if-not-debug), EventProcessor._initialize_partition_consumer] Do not log exceptions in levels other than debug, it can otherwise reveal sensitive information. See Details: https://azure.github.io/azure-sdk/python_implementation.html#python-logging-sensitive-info
2025-06-08T23:03:55.0286664Z azure/eventhub/_eventprocessor/event_processor.py:288: [C4766(do-not-log-exceptions-if-not-debug), EventProcessor._load_balancing] Do not log exceptions in levels other than debug, it can otherwise reveal sensitive information. See Details: https://azure.github.io/azure-sdk/python_implementation.html#python-logging-sensitive-info
2025-06-08T23:03:55.0289490Z azure/eventhub/_eventprocessor/event_processor.py:321: [C4766(do-not-log-exceptions-if-not-debug), EventProcessor._close_consumer] Do not log exceptions in levels other than debug, it can otherwise reveal sensitive information. See Details: https://azure.github.io/azure-sdk/python_implementation.html#python-logging-sensitive-info
2025-06-08T23:03:55.0292039Z azure/eventhub/_eventprocessor/event_processor.py:343: [C4766(do-not-log-exceptions-if-not-debug), EventProcessor._do_receive] Do not log exceptions in levels other than debug, it can otherwise reveal sensitive information. See Details: https://azure.github.io/azure-sdk/python_implementation.html#python-logging-sensitive-info
2025-06-08T23:03:55.0294710Z ************* Module azure.eventhub.aio._eventprocessor.event_processor
2025-06-08T23:03:55.0296160Z azure/eventhub/aio/_eventprocessor/event_processor.py:175: [C4766(do-not-log-exceptions-if-not-debug), EventProcessor._process_error] Do not log exceptions in levels other than debug, it can otherwise reveal sensitive information. See Details: https://azure.github.io/azure-sdk/python_implementation.html#python-logging-sensitive-info
2025-06-08T23:03:55.0298052Z azure/eventhub/aio/_eventprocessor/event_processor.py:199: [C4766(do-not-log-exceptions-if-not-debug), EventProcessor._close_partition] Do not log exceptions in levels other than debug, it can otherwise reveal sensitive information. See Details: https://azure.github.io/azure-sdk/python_implementation.html#python-logging-sensitive-info
2025-06-08T23:03:55.0299596Z azure/eventhub/aio/_eventprocessor/event_processor.py:285: [C4766(do-not-log-exceptions-if-not-debug), EventProcessor._receive] Do not log exceptions in levels other than debug, it can otherwise reveal sensitive information. See Details: https://azure.github.io/azure-sdk/python_implementation.html#python-logging-sensitive-info
2025-06-08T23:03:55.0301110Z azure/eventhub/aio/_eventprocessor/event_processor.py:309: [C4766(do-not-log-exceptions-if-not-debug), EventProcessor._receive] Do not log exceptions in levels other than debug, it can otherwise reveal sensitive information. See Details: https://azure.github.io/azure-sdk/python_implementation.html#python-logging-sensitive-info
2025-06-08T23:03:55.0302591Z azure/eventhub/aio/_eventprocessor/event_processor.py:367: [C4766(do-not-log-exceptions-if-not-debug), EventProcessor.start] Do not log exceptions in levels other than debug, it can otherwise reveal sensitive information. See Details: https://azure.github.io/azure-sdk/python_implementation.html#python-logging-sensitive-info
2025-06-08T23:03:55.0303849Z ************* Module azure.eventhub.aio._buffered_producer._buffered_producer_async
2025-06-08T23:03:55.0305161Z azure/eventhub/aio/_buffered_producer/_buffered_producer_async.py:77: [C4766(do-not-log-exceptions-if-not-debug), BufferedProducer.stop] Do not log exceptions in levels other than debug, it can otherwise reveal sensitive information. See Details: https://azure.github.io/azure-sdk/python_implementation.html#python-logging-sensitive-info
2025-06-08T23:03:55.0306822Z azure/eventhub/aio/_buffered_producer/_buffered_producer_async.py:121: [C4766(do-not-log-exceptions-if-not-debug), BufferedProducer.failsafe_callback.wrapper_callback] Do not log exceptions in levels other than debug, it can otherwise reveal sensitive information. See Details: https://azure.github.io/azure-sdk/python_implementation.html#python-logging-sensitive-info
2025-06-08T23:03:55.0308481Z azure/eventhub/aio/_buffered_producer/_buffered_producer_async.py:165: [C4766(do-not-log-exceptions-if-not-debug), BufferedProducer._flush] Do not log exceptions in levels other than debug, it can otherwise reveal sensitive information. See Details: https://azure.github.io/azure-sdk/python_implementation.html#python-logging-sensitive-info
2025-06-08T23:03:55.0309760Z ************* Module azure.eventhub._buffered_producer._buffered_producer
2025-06-08T23:03:55.0311007Z azure/eventhub/_buffered_producer/_buffered_producer.py:81: [C4766(do-not-log-exceptions-if-not-debug), BufferedProducer.stop] Do not log exceptions in levels other than debug, it can otherwise reveal sensitive information. See Details: https://azure.github.io/azure-sdk/python_implementation.html#python-logging-sensitive-info
2025-06-08T23:03:55.0312526Z azure/eventhub/_buffered_producer/_buffered_producer.py:125: [C4766(do-not-log-exceptions-if-not-debug), BufferedProducer.failsafe_callback.wrapper_callback] Do not log exceptions in levels other than debug, it can otherwise reveal sensitive information. See Details: https://azure.github.io/azure-sdk/python_implementation.html#python-logging-sensitive-info
2025-06-08T23:03:55.0314044Z azure/eventhub/_buffered_producer/_buffered_producer.py:166: [C4766(do-not-log-exceptions-if-not-debug), BufferedProducer.flush] Do not log exceptions in levels other than debug, it can otherwise reveal sensitive information. See Details: https://azure.github.io/azure-sdk/python_implementation.html#python-logging-sensitive-info
2025-06-08T23:03:55.0315249Z ************* Module azure.eventhub._pyamqp._connection
2025-06-08T23:03:55.0316572Z azure/eventhub/_pyamqp/_connection.py:883: [C4766(do-not-log-exceptions-if-not-debug), Connection.close] Do not log exceptions in levels other than debug, it can otherwise reveal sensitive information. See Details: https://azure.github.io/azure-sdk/python_implementation.html#python-logging-sensitive-info
2025-06-08T23:03:55.0317853Z ************* Module azure.eventhub._pyamqp._transport
2025-06-08T23:03:55.0319121Z azure/eventhub/_pyamqp/_transport.py:207: [C4766(do-not-log-exceptions-if-not-debug), _AbstractTransport.connect] Do not log exceptions in levels other than debug, it can otherwise reveal sensitive information. See Details: https://azure.github.io/azure-sdk/python_implementation.html#python-logging-sensitive-info
2025-06-08T23:03:55.0320425Z azure/eventhub/_pyamqp/_transport.py:207: [C4762(do-not-log-raised-errors), _AbstractTransport.connect] Do not log an exception that you re-raise 'as-is'
2025-06-08T23:03:55.0321726Z azure/eventhub/_pyamqp/_transport.py:699: [C4766(do-not-log-exceptions-if-not-debug), WebSocketTransport.connect] Do not log exceptions in levels other than debug, it can otherwise reveal sensitive information. See Details: https://azure.github.io/azure-sdk/python_implementation.html#python-logging-sensitive-info
2025-06-08T23:03:55.0323022Z azure/eventhub/_pyamqp/_transport.py:699: [C4762(do-not-log-raised-errors), WebSocketTransport.connect] Do not log an exception that you re-raise 'as-is'
2025-06-08T23:03:55.0324069Z ************* Module azure.eventhub._pyamqp.session
2025-06-08T23:03:55.0325291Z azure/eventhub/_pyamqp/session.py:408: [C4766(do-not-log-exceptions-if-not-debug), Session.end] Do not log exceptions in levels other than debug, it can otherwise reveal sensitive information. See Details: https://azure.github.io/azure-sdk/python_implementation.html#python-logging-sensitive-info
2025-06-08T23:03:55.0326568Z ************* Module azure.eventhub._pyamqp.link
2025-06-08T23:03:55.0327864Z azure/eventhub/_pyamqp/link.py:136: [C4766(do-not-log-exceptions-if-not-debug), Link._set_state] Do not log exceptions in levels other than debug, it can otherwise reveal sensitive information. See Details: https://azure.github.io/azure-sdk/python_implementation.html#python-logging-sensitive-info
2025-06-08T23:03:59.4681376Z azure/eventhub/_pyamqp/link.py:193: [C4766(do-not-log-exceptions-if-not-debug), Link._incoming_attach] Do not log exceptions in levels other than debug, it can otherwise reveal sensitive information. See Details: https://azure.github.io/azure-sdk/python_implementation.html#python-logging-sensitive-info
2025-06-08T23:03:59.4684389Z azure/eventhub/_pyamqp/link.py:271: [C4766(do-not-log-exceptions-if-not-debug), Link.detach] Do not log exceptions in levels other than debug, it can otherwise reveal sensitive information. See Details: https://azure.github.io/azure-sdk/python_implementation.html#python-logging-sensitive-info
2025-06-08T23:03:59.4686520Z ************* Module azure.eventhub._pyamqp.receiver
2025-06-08T23:03:59.4688700Z azure/eventhub/_pyamqp/receiver.py:44: [C4766(do-not-log-exceptions-if-not-debug), ReceiverLink._process_incoming_message] Do not log exceptions in levels other than debug, it can otherwise reveal sensitive information. See Details: https://azure.github.io/azure-sdk/python_implementation.html#python-logging-sensitive-info
2025-06-08T23:03:59.4690736Z ************* Module azure.eventhub._pyamqp.sender
2025-06-08T23:03:59.4692840Z azure/eventhub/_pyamqp/sender.py:37: [C4766(do-not-log-exceptions-if-not-debug), PendingDelivery.on_settled] Do not log exceptions in levels other than debug, it can otherwise reveal sensitive information. See Details: https://azure.github.io/azure-sdk/python_implementation.html#python-logging-sensitive-info
2025-06-08T23:03:59.4695145Z ************* Module azure.eventhub._pyamqp.aio._sender_async
2025-06-08T23:03:59.4697359Z azure/eventhub/_pyamqp/aio/_sender_async.py:37: [C4766(do-not-log-exceptions-if-not-debug), PendingDelivery.on_settled] Do not log exceptions in levels other than debug, it can otherwise reveal sensitive information. See Details: https://azure.github.io/azure-sdk/python_implementation.html#python-logging-sensitive-info
2025-06-08T23:03:59.4700012Z ************* Module azure.eventhub._pyamqp.aio._link_async
2025-06-08T23:03:59.4701936Z azure/eventhub/_pyamqp/aio/_link_async.py:141: [C4766(do-not-log-exceptions-if-not-debug), Link._set_state] Do not log exceptions in levels other than debug, it can otherwise reveal sensitive information. See Details: https://azure.github.io/azure-sdk/python_implementation.html#python-logging-sensitive-info
2025-06-08T23:03:59.4704330Z azure/eventhub/_pyamqp/aio/_link_async.py:198: [C4766(do-not-log-exceptions-if-not-debug), Link._incoming_attach] Do not log exceptions in levels other than debug, it can otherwise reveal sensitive information. See Details: https://azure.github.io/azure-sdk/python_implementation.html#python-logging-sensitive-info
2025-06-08T23:03:59.4706654Z azure/eventhub/_pyamqp/aio/_link_async.py:274: [C4766(do-not-log-exceptions-if-not-debug), Link.detach] Do not log exceptions in levels other than debug, it can otherwise reveal sensitive information. See Details: https://azure.github.io/azure-sdk/python_implementation.html#python-logging-sensitive-info
2025-06-08T23:03:59.4708743Z ************* Module azure.eventhub._pyamqp.aio._transport_async
2025-06-08T23:03:59.4710692Z azure/eventhub/_pyamqp/aio/_transport_async.py:268: [C4766(do-not-log-exceptions-if-not-debug), AsyncTransport.connect] Do not log exceptions in levels other than debug, it can otherwise reveal sensitive information. See Details: https://azure.github.io/azure-sdk/python_implementation.html#python-logging-sensitive-info
2025-06-08T23:03:59.4713090Z azure/eventhub/_pyamqp/aio/_transport_async.py:268: [C4762(do-not-log-raised-errors), AsyncTransport.connect] Do not log an exception that you re-raise 'as-is'
2025-06-08T23:03:59.4715302Z azure/eventhub/_pyamqp/aio/_transport_async.py:479: [C4766(do-not-log-exceptions-if-not-debug), WebSocketTransportAsync.connect] Do not log exceptions in levels other than debug, it can otherwise reveal sensitive information. See Details: https://azure.github.io/azure-sdk/python_implementation.html#python-logging-sensitive-info
2025-06-08T23:03:59.4717283Z ************* Module azure.eventhub._pyamqp.aio._connection_async
2025-06-08T23:03:59.4719419Z azure/eventhub/_pyamqp/aio/_connection_async.py:876: [C4766(do-not-log-exceptions-if-not-debug), Connection.close] Do not log exceptions in levels other than debug, it can otherwise reveal sensitive information. See Details: https://azure.github.io/azure-sdk/python_implementation.html#python-logging-sensitive-info
2025-06-08T23:03:59.4721318Z ************* Module azure.eventhub._pyamqp.aio._session_async
2025-06-08T23:03:59.4723252Z azure/eventhub/_pyamqp/aio/_session_async.py:410: [C4766(do-not-log-exceptions-if-not-debug), Session.end] Do not log exceptions in levels other than debug, it can otherwise reveal sensitive information. See Details: https://azure.github.io/azure-sdk/python_implementation.html#python-logging-sensitive-info
2025-06-08T23:03:59.4725117Z ************* Module azure.eventhub._pyamqp.aio._receiver_async
2025-06-08T23:03:59.4727051Z azure/eventhub/_pyamqp/aio/_receiver_async.py:47: [C4766(do-not-log-exceptions-if-not-debug), ReceiverLink._process_incoming_message] Do not log exceptions in levels other than debug, it can otherwise reveal sensitive information. See Details: https://azure.github.io/azure-sdk/python_implementation.html#python-logging-sensitive-info
2025-06-08T23:03:59.4729184Z ************* Module azure.eventhub._pyamqp.aio._client_async
2025-06-08T23:03:59.4731299Z azure/eventhub/_pyamqp/aio/_client_async.py:155: [C4766(do-not-log-exceptions-if-not-debug), AMQPClientAsync._keep_alive_async] Do not log exceptions in levels other than debug, it can otherwise reveal sensitive information. See Details: https://azure.github.io/azure-sdk/python_implementation.html#python-logging-sensitive-info
2025-06-08T23:03:59.4732487Z
2025-06-08T23:03:59.4733874Z -----------------------------------
2025-06-08T23:03:59.4735558Z Your code has been rated at 9.96/10
2025-06-08T23:03:59.4736205Z
2025-06-08T23:04:01.7792703Z
How to fix:
Note: If you are a bot. Fix the issue by fixing the above pylint errors.
Run the next-pylint tox command at the library package-level and resolve the linting errors.
../azure-eventhub>pip install "tox<5"../azure-eventhub>tox run -e next-pylint -c ../../../eng/tox/tox.ini --root .
See the Pylint Guide for more information.