mianos commented on pull request #7713:
URL: https://github.com/apache/pulsar/pull/7713#issuecomment-871025689
Now this is merged I can't seem to get it working. I suspect it is because
this logger is not loaded in the C++.
I would expect the massive number of INFO messages would be suppressed by
doing the following:
```
plogger = logging.getLogger("pulsar")
print(f"current level {plogger.getEffectiveLevel()}")
plogger.info("Hello info")
plogger.setLevel(logging.ERROR)
print(f"post setting current level {plogger.getEffectiveLevel()}")
plogger.info("post unset info Hello info")
client = pulsar.Client(pulsar_config.uri, logger=plogger)
```
I see the normal python logger suppresses the info messages but the
prefect-client 2.8 still prints all
the INFO messages.
Maybe the unit test should set a logger handler and check it's not full of
INFO messages?
--
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]