-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed as not planned
Labels
lifecycle/staletype/bugThe PR fixed a bug or issue reported a bugThe PR fixed a bug or issue reported a bug
Description
Describe the bug
I am not able to disable logs from python bindings.
I have tried passing an empty file into log_conf_file_path.
I have tried passing a valid log4cxx configuration file without any console appenders.
It is still printing logs on the console
To Reproduce
Steps to reproduce the behavior:
- Create an empty file named empty
- Start python console
- import pulsar
- c = pulsar.Client(service_url=<service_url>, log_conf_file_path="empty")
- p = c.create_producer("topic")
- See on console:
2020-03-02 08:51:39.476 INFO ConnectionPool:85 | Created connection for <service_url>
2020-03-02 08:51:39.477 INFO ClientConnection:330 | ... Connected to broker
2020-03-02 08:51:39.482 INFO HandlerBase:53 | [persistent://public/default/delete, ] Getting connection from pool
....
Expected behavior
There should be no logs
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
lifecycle/staletype/bugThe PR fixed a bug or issue reported a bugThe PR fixed a bug or issue reported a bug