Skip to content
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

Support set log level of cpp client #398

Merged
merged 1 commit into from
Oct 15, 2024
Merged

Support set log level of cpp client #398

merged 1 commit into from
Oct 15, 2024

Conversation

shibd
Copy link
Member

@shibd shibd commented Oct 15, 2024

Motivation

Currently, when setting the log handler it uses the info level by default.
https://github.com/apache/pulsar-client-cpp/blob/2a6916819b2a80a532f827dc96026b8fdc0b15ed/lib/c/c_ClientConfiguration.cc#L107-L109

Modifications

  • Support set log level of cpp client

Verifying this change

  • You can run examples/custom_logger.js to verify it.

Documentation

  • doc-required
    (Your PR needs to update docs and you will update later)

  • doc-not-needed
    (Please explain why)

  • doc
    (Your PR contains doc changes)

  • doc-complete
    (Docs have been already added)

@shibd shibd added this to the 1.13.0 milestone Oct 15, 2024
@shibd shibd self-assigned this Oct 15, 2024
@shibd shibd merged commit 511f707 into apache:master Oct 15, 2024
12 checks passed
shibd added a commit to shibd/pulsar-client-node that referenced this pull request Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants