apache / pulsar-client-python

Apache Pulsar Python client library
https://pulsar.apache.org/
Apache License 2.0
49 stars 38 forks source link

[docs] Add guide to avoid logs from the default logger #195

Closed BewareMyPower closed 6 months ago

BewareMyPower commented 6 months ago

Fixes https://github.com/apache/pulsar-client-python/issues/194

Motivation

When the Python logger is configured as the logger, during the exit process of a Python script, the default logger will be used for logging instead because the Python logger is unavailable after the interpreter is finalized. It might lead to some unexpected outputs to standard output.

BewareMyPower commented 6 months ago
image