Skip to content

Support set log level of cpp client#398

Merged
shibd merged 1 commit intoapache:masterfrom
shibd:log_level
Oct 15, 2024
Merged

Support set log level of cpp client#398
shibd merged 1 commit intoapache:masterfrom
shibd:log_level

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
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