pulsar-client-cpp icon indicating copy to clipboard operation
pulsar-client-cpp copied to clipboard

Support setting log level for C Api

Open RobertIndie opened this issue 3 years ago • 0 comments

Currently, the log level for C API is hardcoded as INFO: https://github.com/apache/pulsar-client-cpp/blob/7a7b3aa5faa802fa354d2b2e41d38ce22241d700/lib/c/c_ClientConfiguration.cc#L81

Therefore, we cannot get the debug log in the C API or Nodejs client. It's better to support setting the log level for PulsarCLogger.

RobertIndie avatar Dec 05 '22 03:12 RobertIndie