apache / apache/pulsar-client-cpp

how can close pulsar logs

Open
#393 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
71
Forks
90
Avg merge
2h 33m
Merged PRs (30d)
3

Description

I am using Pulsar Cpp in my project but it produces pulsar INFO logs roughly every 10 minutes. How can I close INFO logs from Pulsar?
Example Log:

INFO [139790546368256] ProducerStatsImpl:87 | Producer [persistent://public/default/test_fm_2, ] , ProducerStatsImpl (numMsgsSent_ = 1151, numBytesSent_ = 99461243, sendMap_ = {[Key: Ok, Value: 1151], }, latencyAccumulator_ = Latencies [ 50pct: 2.70125ms, 90pct: 91.4338ms, 99pct: 353.278ms, 99.9pct: 540.775ms], totalMsgsSent_ = 1151, totalBytesSent_ = 99461243, totalAcksReceived_ = , totalSendMap_ = {[Key: Ok, Value: 1151], }, totalLatencyAccumulator_ = Latencies [ 50pct: 2.70125ms, 90pct: 91.4338ms, 99pct: 353.278ms, 99.9pct: 540.775ms])

Contributor guide

Open the contributing guide

Research direction

The report names ProducerStatsImpl and shows periodic INFO output from the Pulsar C++ client; start by tracing that component’s logging configuration and any existing logging documentation. Done means identifying a supported way to suppress or lower these INFO messages and documenting or validating it against the shown output.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
observability
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.