apache / apache/pulsar-client-cpp
Support setting log level for C Api
Open
enhancement
- Dominant language
- C++
- Stars
- 71
- Forks
- 90
- Avg merge
- 2h 33m
- Merged PRs (30d)
- 3
Description
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.
Contributor guide
Assessment
This issue has not been assessed yet.