zbentley commented on issue #11845:
URL: https://github.com/apache/pulsar/issues/11845#issuecomment-1182341154

   I think that still may result in issues, though. What if the library-global 
logger factory is configured to wrap a logger object whose lifecycle is not 
bound to the library--like a Python logger, which may need to be mutated, 
created, destroyed etc., between constructions of `Client`? Wouldn't that 
result in issues like this one?
   
   In other words, I think a library-global logger is not a good idea so long 
as we support passing in logger objects from Python. I think the two are 
mutually exclusive (if you don't want bugs/weird behavior that is).


-- 
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