BewareMyPower commented on issue #194:
URL: 
https://github.com/apache/pulsar-client-python/issues/194#issuecomment-1892995400

   > But I would expect that the logger is still used when creating resources 
like producers, readers, and consumers.
   
   Did you mean the last two lines?
   
   ```
   2024-01-15 14:12:08.947 DEBUG [140254733069184] ProducerImpl:128 | 
[persistent://public/default/A, standalone-0-4] ~ProducerImpl
   2024-01-15 14:12:08.948 INFO  [140254733069184] ProducerImpl:722 | Producer 
- [persistent://public/default/A, standalone-0-4] , [batching  = off]
   ```
   
   The logs above are printed by the default logger because they are logged 
during the exit process of the Python script when the python logger cannot be 
used. So we fall back to the default logger instead.
   
   See 
https://github.com/apache/pulsar-client-python/blob/4b61547e0f79011b1d76e24a7a9745c1d3d6e36f/src/config.cc#L57-L59


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to