-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Fix Log4cxx support #7662
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Log4cxx support #7662
Conversation
|
@lbenc135 the CMake flag was meant so that you can decide to use Log4Cxx. It's not a good idea to have it enabled by default, since on many platforms Log4Cxx can be very complicated to install (because of its dependencies). |
|
just do |
|
@merlimat I see, thanks for the explanation. Does that mean that I can't use the default distribution (from PyPI for Python) and I have to build my own from source? Should I maybe investigate other approaches to control logging? Maybe we can do something similar to what the Kafka client does - create a logger PyObject (to fix #4234). Or we can add a method/argument on the client for controlling the log level. |
7b7a93b to
345ba9c
Compare
This reverts commit 7b7a93b
5ba297f to
6a65920
Compare
|
Hi everyone, any news on this issue? We would like to configure the python logger in version prior to 2.8. Would this pull request make it possible? Also, this pull request #7838 seems to be helpful, which one will be merged? Is any help needed? Thank you Giacomo |
|
@lbenc135:Thanks for your contribution. For this PR, do we need to update docs? |
|
Closed as stale. The development of the C++ client has been permanently moved to https://github.com/apache/pulsar-client-cpp. If this is still relevant, please open an issue there. |
Motivation
Currently the log4cxx support is broken because of a recent refactor.
Modifications
Fixed the Log4Cxx logger refactor.
Verifying this change
This is a trivial change.
Does this pull request potentially affect one of the following parts:
If
yeswas chosen, please highlight the changesDocumentation