Closed
Description
Description
The documentation says that it is possible to redirect the logging for the Consumer/Producer by adding logger=myLogger
as keyword argument, e.g.:
producer = confluent_kafka.Producer({'bootstrap.servers': 'mybroker.com'}, logger=mylogger)
but the AvroConsumer and the AvroProducer just dismiss any **kwargs
How to reproduce
add a logger to the AvroProducer and force librdkafka to log something: the output still is sent to stderr
Checklist
Please provide the following information:
- confluent_kafka.version(): ('1.0.0', 1048576) -- confluent_kafka.libversion(): ('1.0.0', 16777471)
- [-] Apache Kafka broker version:
- [-] Client configuration:
{...}
- [-] Operating system: any
- [-] Provide client logs (with
'debug': '..'
as necessary) - [-] Provide broker log excerpts
- [-] Critical issue
Metadata
Metadata
Assignees
Labels
No labels